[svlug] Zeroing out files with find

Dan Peterson oroville_dan at yahoo.com
Mon Feb 24 15:20:07 PST 2003


I'm trying to zero out some files with this command
but it fails because ">" is obviously not a valid
command:

find /var/log -type f -exec > {} \;

I'm sure there are a million ways to go about doing
this, but I was wondering if anyone might have any
suggestions.

Dan

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the svlug mailing list