Messages in this thread | | | Subject | Re: Directory name problem... | Date | Sun, 25 Oct 1998 14:42:44 -0500 (EST) | From | Scott Wood <> |
| |
Riley Williams <rhw@bigfoot.com> wrote:
> > You may want to speak to your sys-admin and see if this would be a > > viable option. Good luck. > > 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 > > 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 !!!
Ugh. *Why* would he want to *sort* the listing before deleting the files? This person doesn't sound like he's a very competent sysadmin. I would recommend speaking to whomever was responsible for hiring him...
-Scott
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |