Sign in with
Sign up | Sign in
Your question
Solved

automated file deletion

Tags:
  • Image
  • Storage
  • Software
Last response: in Storage
Share
May 2, 2014 10:20:55 AM

Looking for a process or utility software which can erase all of the image files (jpg, TIFF, etc) from an established tree of folders, leaving the folder tree unchanged. I wish to remove the contents leaving all the bins.

More about : automated file deletion

a c 98 G Storage
May 2, 2014 11:11:31 AM

You can export the tree easily so it would be easy to just create a script to delete *.jpg from all of the required folders, and then replace JPG with Tif in the file and run it again for each file type.
m
0
l
May 2, 2014 2:18:56 PM

ss202sl said:
You can export the tree easily so it would be easy to just create a script to delete *.jpg from all of the required folders, and then replace JPG with Tif in the file and run it again for each file type.


m
0
l
Related resources
May 2, 2014 2:20:10 PM

Boy, your suggestion would get me a long way down the road---- can you give me step-by step of how to do this, or point me to a website that explains?
m
0
l

Best solution

a c 137 G Storage
May 5, 2014 10:06:24 AM

Look for a vbscript batch file to do the deletion. I wrote a very similar one to move all my movie files from several directories into one. Even if you don't find a "delete" script, you can modify a "move" script and just change the command to "delete" the files.

Make sure you test the script on a dummy set of folders and files, if you put in something wrong it may try to delete a lot more than what you though it would.
Share
May 5, 2014 10:57:36 AM

hang-the-9 said:
Look for a vbscript batch file to do the deletion. I wrote a very similar one to move all my movie files from several directories into one. Even if you don't find a "delete" script, you can modify a "move" script and just change the command to "delete" the files.

Make sure you test the script on a dummy set of folders and files, if you put in something wrong it may try to delete a lot more than what you though it would.


m
0
l
May 5, 2014 10:59:36 AM

Many thanks for the suggestion. I worked out another process using Goodsync. I set up a backup/one-way sync Job in which the filters Excluded all image file formats and Included all folders. I had to select the folders manually but the setup only took about 5 minutes and I got exactly what I wanted, a new set of cells for tomorrow's image files.
m
0
l
!