From: Ethan Grammatikidis <eekee57@fastmail.fm>
To: 9fans@9fans.net
Subject: Re: [9fans] dcp - a deep copy script, better than dircp
Date: Mon, 20 Jul 2009 12:04:57 +0100 [thread overview]
Message-ID: <20090720120457.c6e8c499.eekee57@fastmail.fm> (raw)
In-Reply-To: <3BBB12CF4EFF4040B38542759379E3CD0278F4@XMAIL.asuch.cas.cz>
On Mon, 20 Jul 2009 11:32:11 +0200
<cej@gli.cas.cz> wrote:
> hi,
>
> i'm quite happy with the 'cpdir' by Kenji Arisawa (thanks, Kenji!) on sources/contrib/arisawa.
> However, your scripty seems fine, too. Could we add a switch to conform with gnu's cp -au? Just not to overwrite newer files. I don't know there is an option there in 'tar' (I can't see in in tar(1)). At least we have the 'k' modifier, which could help.
Tar's -k modifier is the nearest I can find. Mkext has no such option and I've found no cpio (thankfully?). I don't know where to look for or suggest such an option. It may seem natural in tar, but there's a danger with archive utilities that their feature list may grow well beyond a comfortable size for the ordinary user.
Also a copy which omits files would be much faster if it did not read the files which it is going to omit, which rather rules out archive_util | archive_util usage. I think the option would be better added to arisawa's cpdir, but I'm too lazy. :)
--
Ethan Grammatikidis
Those who are slower at parsing information must
necessarily be faster at problem-solving.
next prev parent reply other threads:[~2009-07-20 11:04 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-19 16:24 Ethan Grammatikidis
2009-07-19 18:05 ` erik quanstrom
2009-07-19 18:16 ` Richard Miller
2009-07-19 18:34 ` Francisco J Ballesteros
2009-07-20 1:32 ` Ethan Grammatikidis
2009-07-20 9:55 ` Charles Forsyth
2009-07-20 11:36 ` Ethan Grammatikidis
2009-07-20 11:50 ` erik quanstrom
2009-07-20 13:25 ` Ethan Grammatikidis
2009-07-20 14:00 ` Steve Simon
2009-07-20 15:02 ` Ethan Grammatikidis
2009-07-20 15:13 ` erik quanstrom
2009-07-20 15:19 ` Dan Cross
2009-07-20 18:30 ` Ethan Grammatikidis
2009-07-20 22:25 ` Jason Catena
2009-07-20 22:41 ` erik quanstrom
2009-07-20 22:51 ` Jack Johnson
2009-07-20 22:56 ` erik quanstrom
2009-07-21 0:31 ` Dan Cross
2009-07-23 2:10 ` Federico G. Benavento
2009-07-20 9:32 ` cej
2009-07-20 11:04 ` Ethan Grammatikidis [this message]
2014-04-17 12:53 ` arisawa
2014-04-17 12:55 ` erik quanstrom
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=20090720120457.c6e8c499.eekee57@fastmail.fm \
--to=eekee57@fastmail.fm \
--cc=9fans@9fans.net \
/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).