% Already tried, and he's not interested, but I did find out what script
% he's using...
% Q> #!/bin/sh
% Q> XYZZY="`find / -name core`"
% Q> for LOOP in `find $XYZZY | sort -ru` ; do
% Q> rm -fr $LOOP
% Q> done
mkdir -p "evil /how/did/this/get/deleted/I/needed/that /core"
I find this to be truly sad.
% Apparently, the version I use (and show above) is "too simple to do
% the job"...and the version he uses was written for him by his son,
% who's doing Comp Sci on Solaris as school - aged 14 !!!
And you can't even tell him why this script is so bad (and inefficient)
without insulting his progeny...
Does this sysadmin want to delete all dirs named "core", or is he just
worried that the simple version will miss some of the files? In the
latter case you might be able to convince him that his son thought he
wanted to solve the latter problem, and that while the good script is
"too simple" for the latter case, it's perfect for the former.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/