unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: notbob <notbob@nothome.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs lisp command to copy dir and all subdir?
Date: Tue, 25 Aug 2009 15:53:54 GMT	[thread overview]
Message-ID: <mOTkm.132155$cf6.32082@newsfe16.iad> (raw)
In-Reply-To: 9eca862e-3e82-4a51-b92b-6ddbe867c188@p10g2000prm.googlegroups.com

On 2009-08-25, Xah Lee <xahlee@gmail.com> wrote:
> is there a emacs lisp command to copy a whole dir? like unix's cp -R?

> so, am wondering if there's a pre-made solutions?

I'm using emacs 22.3 and it copies recursively by default.  From dired
mode, simply put cursor on dir to be copied and type C (captial C for
copy).  The mini-buffer prompts where to copy to.  If subdirectories
exist, mini-buffer prompts if you want recursive copies (y/n).  I just
tried it and it works fine, which is cool, cuz I sure don't know much
about lisp, yet.  ;)

nb  




  reply	other threads:[~2009-08-25 15:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25  3:43 emacs lisp command to copy dir and all subdir? Xah Lee
2009-08-25 15:53 ` notbob [this message]
2009-08-26 12:32 ` Michael Heerdegen
2009-08-27 15:21   ` Xah Lee
2009-08-28 20:25     ` John A Pershing Jr
2009-09-10 20:23       ` wart
2009-09-11 14:16         ` Andreas Politz
     [not found]         ` <mailman.6442.1252678615.2239.help-gnu-emacs@gnu.org>
2009-09-11 17:54           ` Xah Lee
2009-09-12  1:40             ` Xah Lee
2009-09-12  1:43               ` Xah Lee
2009-09-12  5:24                 ` Xah Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='mOTkm.132155$cf6.32082@newsfe16.iad' \
    --to=notbob@nothome.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).