On Wed, 2003-09-17 at 15:34, Jacob Fugal wrote:
> find /root/of/tree [conditions] | xargs tar -cjf backup.tar.bz

Instead of using xargs, you could use a nested find as such:

  tar -cjf backup.tar.bz $(find /root/of/tree [conditions])

I've found that to work just as well except in cases where files have
spaces in their names, under which circumstances I think you'll have
problems with xargs too.

Corey



____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to