This is close to what I was trying before.  Is there a way I can pipe the
output of locate into xargs?  The filesystem is 680 Gigs and I'd like to
only search it once if possible.

This doesn't work:

# slocate -i -d /tmp/04vfile001_db *.wmv | xargs -0 ls -l

Thanks

On Fri, Feb 11, 2005 at 01:33:11AM +0200, Giorgos Keramidas <[EMAIL PROTECTED]> 
wrote:
> 
> Use -print0 (that's a zero at the end of print), and the -0 option of
> xargs.  Then the whitespace shouldn't matter.
> 
>       # cd /storage/users
>       # find . -type d -print0 | xargs -0 du -sk
> 
> That should do it.
> 
> - Giorgos

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to