Piping find into tar...
walt at wump.org
Mon May 9 06:05:14 UTC 2011
Many have recommended using "xargs" to pass the generated list
entries into "tar" or some other archiving program. I've often
had trouble processing lists of filenames using "xargs." Most
of the problems revolve around oddball characters in the
filenames, which tend to be created by users using GUIs. While
certainly no panacea, I've found this sequence in bash/sh
<generate list> | while read X; do <process "$X">; done
often gets around many of the problems.
Walter M. Pawley <walt at wump.org>
Wump Research & Company
676 River Bend Road, Roseburg, OR 97471
More information about the freebsd-questions