> Build a single sed command to delete any un-desired file specs, and strip
> off the purge-level...start with /^1/!d (where one is the desired purge
> level), add delete commands for each sub-mount point (ie
\:var/log/httpd:d),
> and end with a substute command to strip the leading field ( s/^[0-9
> <tab>]*// ) and run it on all the purge-able file lists (for FILE in `sed
> $sedcmd /etc/purge.d/*` ; do rm $FILE ; done)

Oops!  You also need to delete any files that don't reside on the over-full
partition before the final substitute command...

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to