Re: Change tar to GNU

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Fri, 18 Feb 2005 09:36:40 +0100
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
Received on Fri Feb 18 2005 - 07:37:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC