[WBEL-users] File deletion
Matthew Hodgett
matthew.hodgett@shieldssecurity.com
Thu Jan 20 02:39:33 CST 2005
Have you looked at xcopy /t on your windows box? You can copy just the
directory structure, delete the original, then copy just the structure
back again.
Matthew
-----Original Message-----
From: whitebox-users-admin@beau.org
[mailto:whitebox-users-admin@beau.org] On Behalf Of Francies Moore
Sent: Thursday, January 20, 2005 5:43 AM
To: whitebox-users@beau.org
Subject: [WBEL-users] File deletion
Hi everyone
I have to somehow or other clean out a filesystem in order to start
again for this year.
These folders are a main folder for a Branch Office, with nested
subfolders for various safety test certificates that have to be scanned
and stored. There are about 500 of the main Branch Office folders!
What I need to do is to remove the files but leave the directories
intact.
Is it possible to use a script to do this? If so, how? I realise rm
-rf removes subdirectories as well as files!
The files are kept on a Windows box but I have copied them over to one
of my WBEL servers because I could not imagine any way of doing this in
Windows.
I realise this is not a WBEL issue as such but any help would be
appreciated.
Thanks.
Francies
_______________________________________________
Whitebox-users mailing list
Whitebox-users@beau.org http://beau.org/mailman/listinfo/whitebox-users
More information about the Whitebox-users
mailing list