Move Selected Files Maintaining Folder Structure in Windows 7

I had a folder with all my photos and videos in it – some 50,000 files in 560 folders. I decided to move all the videos to a new folder, but wanted to maintain the same folder structure for the videos as for the photos.

Obviously they weren’t all in a single folder, they were randomly across the 560 folders.

I spent a while working out how to do this, so thought I’d share it. It’s not the most elegant solution, but it does work!

First, I used SyncEXP (hit the download link at the top of the page) to copy all the videos to the new folder, preserving the folder structure. SyncEXP is a great little tool for syncing files amongst local/network drives.

You need to hit ‘advanced options’ and then filter on file types. I filtered on *.avi and *.AVI – not sure if it’s case specific or not, but better safe than sorry.

Once the copies are made, you can use any number of methods to delete the originals. You could do it via a search in Windows Explorer or some other tool. I used Directory Opus which has some cool features for renaming/filtering/searching files etc (originally tried to get this to move the files but didn’t find a way to do it with it).

2 thoughts on “Move Selected Files Maintaining Folder Structure in Windows 7

  1. You can rather easilly do this within DOpus.

    In the root folder, turn on flat view (mixed) ( View > Flat View > Mixed )

    in the lister simply type *.avi

    Scroll down past all the folders and you should see all the .avi files in all folders.
    Highligt all avi files and rmb drag them to the new location.
    Choose Copy Here
    Chose Recreate

    Then just delete all old avi files.

    1. Awesome! I searched for this when testing out various methods, but didn’t find the functionality. Details. Would’ve saved me a lot of time at the time!

      Thanks for letting me know.

Leave a Reply

Your email address will not be published. Required fields are marked *