[Technic] linux help
Scott Mayo
sgmayo at mail.bloomfield.k12.mo.us
Thu Jul 12 08:28:57 CDT 2007
Is there a quick command to delete everything in a directory except for
certain directories?
i.e. I have the directory /dir1 which contains a bunch of files and
other directories. I want to delete everything in /dir1 except the
directories 'save1' and 'save2'.
Thanks.
--
Scott Mayo
System Administrator
Bloomfield Schools
PH: 573-568-5669
FA: 573-568-4565
Pager: 800-264-2535 X2549
Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.
More information about the Technic
mailing list
|