[K12OSN] OT Help with file deletion script

Jim Kronebusch jim at winonacotter.org
Wed Oct 24 20:10:03 UTC 2007


On Wed, 24 Oct 2007 12:34:44 -0700, Huck wrote
> for $x in 'ls'
> do
> for $y in 'ls -a'
>    if $y != 'mail' || '.openwebmail'
>       do rm -rf $y
> 
> something like that?
> of course that won't run..but it's the logical thinking behind it maybe?


I'm not sure, I'll play around and see if I can get it to work.  

Thanks,
Jim

-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.




More information about the K12OSN mailing list