Jump to content

Mass deletion of old/duplicate files on shared drive


Recommended Posts

Posted

We have a shared drive which staff are free to create folders and save documents to. They was/is some basic folder structure but its a bit of a mess.

 

I started moving anything i deemed obsolete into a hidden folder and then clear out this folder each year in case anyone comes asking for missing work.

 

I want to know if there is a tool or an easy way to search say all files and folders not accessed in a set time frame, say 2 years, so that i can then move them to a hidden folder before deleting them. There is also the problem of duplicate files floating around which i'd like to delete as well. I've seen a few tools to find and delete them, but can anyone reccommend something they have used successfully?

Posted (edited)

Robocopy will do this, it would be something like (but please check this before using):

 

Robocopy s:\staff\*.* s:\archive\*.* /E /MOVE /MINAGE:730

Edited by teejay
Posted

For duplicate files, bit of a pain, but you could do:

 

dir *.* /S /OS > files.txt

 

This will give you a list of all files sorted by size, it's then a case of hunt for files the same size and name, bit manual I know.

  • 11 months later...
Guest
This topic is now closed to further replies.



×
×
  • Create New...