I haven't been able to get this one yet. Challenge: A one-line statement (pipes okay, but explicit loops not) that empties all found files (as for debugging with /var/log, perse).
This is close, but has a loop:
find -type f | while read file; do :>$file; done
This seems like it might work, but doesn't:
find -type f -exec cat /dev/null \> {} \;
Any ideas?
Jameson
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug
