+ Post New Thread
Results 1 to 9 of 9
Windows Thread, Mass deletion of old/duplicate files on shared drive in Technical; We have a shared drive which staff are free to create folders and save documents to. They was/is some basic ...
  1. #1

    Join Date
    Jun 2009
    Posts
    372
    Thank Post
    14
    Thanked 3 Times in 3 Posts
    Rep Power
    20

    Mass deletion of old/duplicate files on shared drive

    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?

  2. #2
    p858snake's Avatar
    Join Date
    Dec 2008
    Location
    Queensland
    Posts
    1,490
    Thank Post
    37
    Thanked 175 Times in 151 Posts
    Blog Entries
    2
    Rep Power
    51
    You could probably do it with a batch/powershell script.

    But for images, I like to use VisiPics to find duplicates.

  3. #3

    teejay's Avatar
    Join Date
    Apr 2008
    Posts
    3,174
    Thank Post
    284
    Thanked 773 Times in 583 Posts
    Rep Power
    335
    Robocopy will do this, it would be something like (but please check this before using):

    Robocopy s:\staff\*.* s:\archive\*.* /E /MOVE /MINAGE:730
    Last edited by teejay; 2nd February 2011 at 09:51 AM.

  4. #4

    teejay's Avatar
    Join Date
    Apr 2008
    Posts
    3,174
    Thank Post
    284
    Thanked 773 Times in 583 Posts
    Rep Power
    335
    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.

  5. #5

    bossman's Avatar
    Join Date
    Nov 2005
    Location
    England
    Posts
    3,905
    Thank Post
    1,186
    Thanked 1,057 Times in 749 Posts
    Rep Power
    328
    @farquea:

    Excellent piece of software but not free:

    Duplicate File Detective Software - Find and Remove Duplicate Files

    Does what it states

  6. #6

    Join Date
    Jun 2010
    Posts
    198
    Thank Post
    9
    Thanked 25 Times in 24 Posts
    Rep Power
    21
    I would recommend treesize for any system admin a very useful tool

  7. Thanks to kili from:

    mickeyh080 (4th August 2011)

  8. #7

    Join Date
    Jun 2010
    Location
    Milton Keynes
    Posts
    144
    Thank Post
    0
    Thanked 17 Times in 13 Posts
    Rep Power
    10
    i may have used that one, some of them come with an option to delete the dupe and replace it witha shortcut to the original file.

  9. #8
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    41
    Seems like deleteman is advertising, given that the response is to a post in Feb 2011!

  10. #9

    Join Date
    Jun 2010
    Location
    Milton Keynes
    Posts
    144
    Thank Post
    0
    Thanked 17 Times in 13 Posts
    Rep Power
    10
    oh bloody hell, now I just look ridiculous

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 0
    Last Post: 28th September 2010, 01:06 PM
  2. local files deletion script
    By nicklec in forum Mac
    Replies: 0
    Last Post: 15th July 2009, 03:39 PM
  3. Replies: 6
    Last Post: 10th October 2007, 10:13 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •