Change tar to GNU
Dag-Erling Smørgrav
des at des.no
Fri Feb 18 08:37:10 GMT 2005
Steve Kargl <sgk at troutmask.apl.washington.edu> writes:
> find $PATH -newermt 20050214 | xargs tar cf new.tar
Bad idea, for a number of different reasons (including file names
containing spaces or other special characters, and command line length
limits). The following is slightly better, but will still fail if you
have files with newlines in them:
find $PATH -newermt 2005-02-14 | tar -c -f new.tar -T/dev/stdin
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-current
mailing list