From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans mailing list <9fans@cse.psu.edu>
Subject: [9fans] mv vs cp
Date: Sun, 7 Oct 2001 08:29:00 +0200 [thread overview]
Message-ID: <20011007082859.I28720@cackle.proxima.alt.za> (raw)
Am I being utterly obtuse, or does it really make sense to duplicate
then delete files when moving them to another directory?
I had the distribution archives in /dist under "kfs" and decided to do
the following:
% cd /dist
% mkdir plan9
% mv *.9gz plan9
the machine is still busy copying plan9.9gz :-(
In this case, a "rename" would have been appropriate. Is it not
possible to determine whether it would work and resort to cp+rm if
it doesn't?
In fact, a rename command would be an adequate compromise. I see
there's a "kfs" command called "rename" but the man page does not
specify its actual scope. Should I have used that (one file at the
time) instead?
++L
next reply other threads:[~2001-10-07 6:29 UTC|newest]
Thread overview: 88+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-07 6:29 Lucio De Re [this message]
2001-10-07 6:42 ` Quinn Dunkan
2001-10-07 9:17 ` Lucio De Re
2001-10-07 9:26 ` Re[2]: " Matt
2001-10-07 6:35 Russ Cox
2001-10-08 9:41 ` Thomas Bushnell, BSG
2001-10-07 7:02 forsyth
2001-10-07 12:43 presotto
2001-10-07 13:01 ` Lucio De Re
2001-10-07 17:26 ` philw
2001-10-07 16:23 jmk
2001-10-08 4:28 ` Lucio De Re
2001-10-08 4:49 ` Alexander Viro
2001-10-08 6:10 ` George Michaelson
2001-10-08 6:34 ` Alexander Viro
2001-10-08 6:49 ` George Michaelson
2001-10-08 7:00 ` Lucio De Re
2001-10-08 7:13 ` George Michaelson
2001-10-08 7:44 ` Alexander Viro
2001-10-08 7:28 ` Alexander Viro
2001-10-08 6:54 ` Lucio De Re
2001-10-08 7:10 ` George Michaelson
2001-10-08 8:28 ` Lucio De Re
2001-10-08 9:51 ` Thomas Bushnell, BSG
2001-10-08 10:30 ` Alexander Viro
2001-10-09 9:03 ` Thomas Bushnell, BSG
2001-10-09 9:33 ` Alexander Viro
2001-10-09 15:58 ` Thomas Bushnell, BSG
2001-10-09 16:43 ` davel
2001-10-10 8:49 ` Ralph Corderoy
2001-10-10 8:49 ` Thomas Bushnell, BSG
2001-10-10 9:48 ` davel
2001-10-11 9:10 ` Thomas Bushnell, BSG
2001-10-11 10:54 ` davel
2001-10-12 9:19 ` Thomas Bushnell, BSG
2001-10-09 16:46 ` Alexander Viro
2001-10-10 8:50 ` Thomas Bushnell, BSG
2001-10-10 10:29 ` Alexander Viro
2001-10-10 1:05 ` erik quanstrom
2001-10-10 2:15 ` david presotto
2001-10-10 4:54 ` Skip Tavakkolian
2001-10-10 8:30 ` davel
2001-10-08 10:34 ` Boyd Roberts
2001-10-08 9:50 ` Douglas A. Gwyn
2001-10-08 11:13 ` Lucio De Re
2001-10-08 9:42 ` Thomas Bushnell, BSG
2001-10-07 18:53 presotto
2001-10-07 19:11 presotto
2001-10-08 7:33 ` Skip Tavakkolian
2001-10-07 21:20 nigel
2001-10-08 5:05 jmk
2001-10-08 5:45 ` Mike Haertel
2001-10-08 6:27 ` Lucio De Re
2001-10-08 6:25 ` Lucio De Re
2001-10-08 9:50 ` Douglas A. Gwyn
2001-10-08 9:51 ` Thomas Bushnell, BSG
2001-10-08 15:37 ` Richard
2001-10-08 16:02 ` William Josephson
2001-10-08 6:54 nigel
2001-10-08 13:00 rob pike
2001-10-09 9:04 ` Douglas A. Gwyn
2001-10-09 11:43 ` George Michaelson
2001-10-10 8:57 ` Douglas A. Gwyn
2001-10-10 11:50 ` Borja Marcos
2001-10-10 11:53 ` Borja Marcos
2001-10-08 13:03 rob pike
2001-10-08 14:40 ` Lucio De Re
2001-10-08 14:46 rob pike
2001-10-08 15:00 ` Alexander Viro
2001-10-08 15:14 ` Markus Friedl
2001-10-08 16:22 ` Lucio De Re
2001-10-08 16:11 anothy
2001-10-08 16:54 presotto
2001-10-09 1:46 okamoto
2001-10-09 5:46 ` Richard
2001-10-09 12:05 forsyth
2001-10-09 12:25 rob pike
2001-10-09 16:18 ` Thomas Bushnell, BSG
2001-10-09 16:39 forsyth
2001-10-10 8:49 ` Thomas Bushnell, BSG
2001-10-09 16:59 rog
2001-10-09 17:16 presotto
2001-10-10 1:45 okamoto
2001-10-10 13:18 forsyth
2001-10-11 1:06 okamoto
2001-10-11 2:18 Russ Cox
2001-10-11 3:00 okamoto
2001-10-11 3:19 anothy
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011007082859.I28720@cackle.proxima.alt.za \
--to=lucio@proxima.alt.za \
--cc=9fans@cse.psu.edu \
/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 NNTP newsgroup(s).