[PLUG] One-liners to empty all files in a directory?

Galen Seitz galens at seitzassoc.com
Mon Aug 15 23:51:24 UTC 2011


wes wrote:
> yeah, I can't get that to work either. not sure why. so then my solution
> would be:
> 
> touch blankfile; find -type f -exec cp blankfile {} \;

Doesn't that count as UUOT?  Why not use /dev/null?

-- 
Galen Seitz
galens at seitzassoc.com



More information about the PLUG mailing list