good old find/remove question

From: jim R. (y_542000@yahoo.com)
Date: Fri Sep 20 2002 - 11:05:42 EDT


what is the safest way to remove non-system critical
"core" and ".out" files in sparc solaris 2.6?. any?.

1)
find /path \( -name core -o -name *.out -o -name
nohup.out \) -print -exec rm {} \;
2)
find /path -type f -a -name core -exec rm {} \;
3)
find /path \( -name -o '*.out' \) -print -exec rm {}
\;
jim
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:58 EDT