[Gllug] quick question - exclusive rm -r

salsaman salsaman at xs4all.nl
Mon Nov 27 01:21:46 UTC 2006


Is it possible to say "delete all subdirectories of ., _except_ those 
containing the file foo" in one line of shell script ? If so, how ?


Gabriel.

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list