|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Michael C. Toren said:
> On Tue, May 10, 2005 at 10:16:35AM -0400, Jon Nelson wrote:
>> That's why I mentioned '-print0' in my first post. I believe this would
>> take care of the above:
>>
>> $ find ../dir1/ -print0 | xargs --null tar cvf test.tar
>
> In addition to the points Paul made, when using find's very useful -print0
> command line argument, you'll also want to use xargs's corresponding -0
> command line argument.
'--null' is the same as '-0'
Jon
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|