From: Juri Linkov <juri@jurta.org>
To: David Kastrup <dak@gnu.org>
Cc: Stephen.Berman@gmx.net, emacs-devel@gnu.org
Subject: Re: dired mode recursive delete
Date: Sun, 03 Jun 2007 12:29:22 +0300 [thread overview]
Message-ID: <87ira5s8a5.fsf@jurta.org> (raw)
In-Reply-To: <86myzh636m.fsf@lola.quinscape.zz> (David Kastrup's message of "Sun\, 03 Jun 2007 07\:02\:25 +0200")
>>>> The problem with this setting is that it emphasizes the fact that
>>>> Emacs doesn't support cross-device recursive copies.
>>> ^^^^^^
>>> I meant `renames' of course. Copies will now work recursively by
>>> default, renames will as well, unless the destination is on another
>>> device.
>>
>> Could we eliminate this restriction in dired since now coreutils supports
>> cross-partition recursive directory renames.
>
> What has coreutils to do with it?
Coreutils contains the command `mv' which starting from the version 4.0
(when it was part of Fileutils, later combined into Coreutils with
Shellutils and Textutils) can move a entire directory hierarchy
between partitions.
Here is what the node (info "(coreutils)mv invocation") says about this:
`mv' can move any type of file from one file system to another.
Prior to version `4.0' of the fileutils, `mv' could move only regular
files between file systems. For example, now `mv' can move an entire
directory hierarchy including special device files from one partition
to another. It first uses some of the same code that's used by `cp -a'
to copy the requested directories and files, then (assuming the copy
succeeded) it removes the originals. If the copy fails, then the part
that was copied to the destination partition is removed. If you were
to copy three directories from one partition to another and the copy of
the first directory succeeded, but the second didn't, the first would
be left on the destination partition and the second and third would be
left on the original partition.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2007-06-03 9:29 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-30 17:36 dired mode recursive delete Neal Becker
2007-05-30 17:59 ` Stephen Berman
2007-05-30 18:11 ` David Kastrup
2007-05-31 22:31 ` Richard Stallman
2007-06-01 5:03 ` David Kastrup
2007-06-01 5:33 ` Romain Francoise
2007-06-01 5:35 ` Romain Francoise
2007-06-02 23:28 ` Juri Linkov
2007-06-03 5:02 ` David Kastrup
2007-06-03 9:29 ` Juri Linkov [this message]
2007-06-03 10:34 ` Dieter Wilhelm
2007-06-03 12:09 ` Juri Linkov
2007-06-03 13:09 ` martin rudalics
2007-06-03 18:43 ` Juri Linkov
2007-06-03 20:57 ` Eli Zaretskii
2007-06-03 21:28 ` Juri Linkov
2007-06-03 21:57 ` David Kastrup
2007-06-03 22:59 ` Juri Linkov
2007-06-04 5:21 ` David Kastrup
2007-06-04 23:54 ` Juri Linkov
2007-06-03 19:46 ` David Kastrup
2007-06-03 20:00 ` Juri Linkov
2007-06-03 20:20 ` David Kastrup
2007-06-03 20:31 ` Juri Linkov
2007-06-04 21:22 ` Dieter Wilhelm
2007-06-03 19:55 ` Giorgos Keramidas
2007-06-03 20:14 ` Juri Linkov
2007-06-01 17:54 ` Richard Stallman
2007-06-03 18:42 ` Juri Linkov
2007-06-02 16:02 ` Kevin Rodgers
2007-06-02 19:13 ` David Kastrup
2007-06-13 7:53 ` Kevin Rodgers
2007-06-13 8:03 ` David Kastrup
2007-06-13 8:17 ` Stephen Leake
2007-06-13 8:26 ` David Kastrup
2007-06-03 21:26 ` Richard Stallman
2007-06-13 8:11 ` Kevin Rodgers
2007-05-31 22:31 ` Richard Stallman
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=87ira5s8a5.fsf@jurta.org \
--to=juri@jurta.org \
--cc=Stephen.Berman@gmx.net \
--cc=dak@gnu.org \
--cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).