* Re: does dired have `mv' command?
[not found] <mailman.4369.1153660299.9609.help-gnu-emacs@gnu.org>
@ 2006-07-24 8:16 ` Tim X
2006-07-25 18:53 ` Ken Goldman
1 sibling, 0 replies; 10+ messages in thread
From: Tim X @ 2006-07-24 8:16 UTC (permalink / raw)
Leon <sdl.web@gmail.com> writes:
> Dear all,
>
> I'm wondering if dired has a function similar to `mv' in GNU/Linux
> command line. If not, what's the best way of moving files between
> directories?
>
> Currently I'm using copy and delete for small files. I have to resort
> to shell to move large files.
>
In dired its called 'rename' and bound to r.
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: does dired have `mv' command?
[not found] <mailman.4369.1153660299.9609.help-gnu-emacs@gnu.org>
2006-07-24 8:16 ` does dired have `mv' command? Tim X
@ 2006-07-25 18:53 ` Ken Goldman
2006-07-25 20:04 ` Chris McMahan
1 sibling, 1 reply; 10+ messages in thread
From: Ken Goldman @ 2006-07-25 18:53 UTC (permalink / raw)
To all the other answers, I'll recommend wdired.el.
I don't know if it can move between directories, but it's great for
renaming files in a directory, as it allows editing the dired buffer
using all the power of emacs.
That is, one can use keyboard macros, search and replace, rectangle mode
(great for adding prefixes to file names), flip mode bits with the
mouse, etc.
Leon wrote:
> Dear all,
>
> I'm wondering if dired has a function similar to `mv' in GNU/Linux
> command line. If not, what's the best way of moving files between
> directories?
>
> Currently I'm using copy and delete for small files. I have to resort
> to shell to move large files.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: does dired have `mv' command?
2006-07-25 18:53 ` Ken Goldman
@ 2006-07-25 20:04 ` Chris McMahan
0 siblings, 0 replies; 10+ messages in thread
From: Chris McMahan @ 2006-07-25 20:04 UTC (permalink / raw)
I move files all of the time using the rename function of dired. Just
specify a different directory, and the file is moved.
See the documentation for dired-do-rename, mapped typically to R
within a dired buffer.
- Chris
Ken Goldman <kgold@watson.ibm.com> writes:
> To all the other answers, I'll recommend wdired.el.
>
> I don't know if it can move between directories, but it's great for
> renaming files in a directory, as it allows editing the dired buffer
> using all the power of emacs.
>
> That is, one can use keyboard macros, search and replace, rectangle
> mode (great for adding prefixes to file names), flip mode bits with
> the mouse, etc.
>
> Leon wrote:
>> Dear all,
>>
>> I'm wondering if dired has a function similar to `mv' in GNU/Linux
>> command line. If not, what's the best way of moving files between
>> directories?
>>
>> Currently I'm using copy and delete for small files. I have to resort
>> to shell to move large files.
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 10+ messages in thread
* does dired have `mv' command?
@ 2006-07-23 13:11 Leon
2006-07-23 13:20 ` Dieter Wilhelm
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Leon @ 2006-07-23 13:11 UTC (permalink / raw)
Dear all,
I'm wondering if dired has a function similar to `mv' in GNU/Linux
command line. If not, what's the best way of moving files between
directories?
Currently I'm using copy and delete for small files. I have to resort
to shell to move large files.
Thank you.
--
Leon
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: does dired have `mv' command?
2006-07-23 13:11 Leon
@ 2006-07-23 13:20 ` Dieter Wilhelm
2006-07-24 10:43 ` Leon
2006-07-23 13:26 ` Peter Dyballa
2006-07-23 13:28 ` David Hansen
2 siblings, 1 reply; 10+ messages in thread
From: Dieter Wilhelm @ 2006-07-23 13:20 UTC (permalink / raw)
Cc: help-gnu-emacs
Leon <sdl.web@gmail.com> writes:
> Dear all,
>
> I'm wondering if dired has a function similar to `mv' in GNU/Linux
> command line. If not, what's the best way of moving files between
> directories?
R
or even better ;-)
C-h m
C-x o
C-s rename
for the other renaming possibilities.
the following might be helpful when you also want to copy, delete
whole directories:
(setq dired-recursive-copies 'always)
(setq dired-recursive-deletes 'top) ;ask for the top directories
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: does dired have `mv' command?
2006-07-23 13:20 ` Dieter Wilhelm
@ 2006-07-24 10:43 ` Leon
0 siblings, 0 replies; 10+ messages in thread
From: Leon @ 2006-07-24 10:43 UTC (permalink / raw)
Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:
> Leon <sdl.web@gmail.com> writes:
>
>> Dear all,
>>
>> I'm wondering if dired has a function similar to `mv' in GNU/Linux
>> command line. If not, what's the best way of moving files between
>> directories?
>
> R
>
> or even better ;-)
>
> C-h m
> C-x o
> C-s rename
>
> for the other renaming possibilities.
>
> the following might be helpful when you also want to copy, delete
> whole directories:
>
> (setq dired-recursive-copies 'always)
> (setq dired-recursive-deletes 'top) ;ask for the top directories
Thanks.
I have used C-h b and search for move before post this. The reason I
didn't try C-h m is because it gives a huge buffer of info that I have
got into the habit of using C-h b instead.
--
Leon
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: does dired have `mv' command?
2006-07-23 13:11 Leon
2006-07-23 13:20 ` Dieter Wilhelm
@ 2006-07-23 13:26 ` Peter Dyballa
2006-07-23 13:28 ` David Hansen
2 siblings, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2006-07-23 13:26 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 23.07.2006 um 15:11 schrieb Leon:
> I'm wondering if dired has a function similar to `mv' in GNU/Linux
> command line. If not, what's the best way of moving files between
> directories?
R -- or rename.
--
Greetings
Pete
For some reason, this fortune reminds everyone of Marvin Zelkowitz.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: does dired have `mv' command?
2006-07-23 13:11 Leon
2006-07-23 13:20 ` Dieter Wilhelm
2006-07-23 13:26 ` Peter Dyballa
@ 2006-07-23 13:28 ` David Hansen
2006-07-23 16:42 ` Leon
2 siblings, 1 reply; 10+ messages in thread
From: David Hansen @ 2006-07-23 13:28 UTC (permalink / raw)
On Sun, 23 Jul 2006 14:11:19 +0100 Leon wrote:
> I'm wondering if dired has a function similar to `mv' in GNU/Linux
> command line. If not, what's the best way of moving files between
> directories?
R runs the command dired-do-rename
David
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-07-25 20:04 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.4369.1153660299.9609.help-gnu-emacs@gnu.org>
2006-07-24 8:16 ` does dired have `mv' command? Tim X
2006-07-25 18:53 ` Ken Goldman
2006-07-25 20:04 ` Chris McMahan
2006-07-23 13:11 Leon
2006-07-23 13:20 ` Dieter Wilhelm
2006-07-24 10:43 ` Leon
2006-07-23 13:26 ` Peter Dyballa
2006-07-23 13:28 ` David Hansen
2006-07-23 16:42 ` Leon
2006-07-23 17:58 ` Peter Dyballa
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.