On Mon, 20 Jul 2009 11:32:11 +0200 <c...@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.