Do you know of any programs that mass move folders?

Posted on 2014-01-02
Last Modified: 2014-01-16
Hi, Does any one know of any ways I can move multiple folders based in rules to another drive?

Rules meaning, if it contains a certain word such as "Rock", "Metal", etc

C:/Music/Downloads/Rock - 12-2013
C:/Music/Downloads/Metal - 12-2013
C:/Music/Downloads/Punk - 12-2013
C:/Music/Downloads/Indie - 12-2013

I want to move those to:

C:/Music/Rock/Rock 2013/ (already created but want the "Rock - 12-2013" folder inside it)
C:/Music/Rock/Metal 2013/ (already created but want the "Metal - 12-2013" folder inside it)
C:/Music/Rock/Punk 2013/ (already created but want the "Punk - 12-2013" folder inside it)
C:/Music/Rock/Indie 2013/ (already created but want the "Indie - 12-2013" folder inside it)

I'm up for any solution that supports Windows.
Question by:Computer Guy
  • 3
  • 2
  • 2
  • +1
LVL 21

Expert Comment

ID: 39753244
Can this be of any help:
LVL 38

Expert Comment

ID: 39757415
If your Operating System is Windows XP, then it has a useful enough search function where you can search for only folders containing the word *rock* within a given master folder.  When the results are presented, you can select them all and use the Move To or Copy To toolbar buttons and browse to the new destination folder.  The XP search is only really useful like this when in Classic mode, where you can specify the "type" as "Folder", browse to a folder like C:\Music\Downloads, and tell it to look for folders with *rock* (case insensitive) in the name.

The Windows Search after XP is crap.

I use a free standalone file search utility by Nir Sofer named "SearchMyFiles".  This allows you to choose to search for folders and files, files only, or folders only, to exclude file extensions and folder paths, and to allow multiple wildcards in the search.  It also allows you to do a multiple select in the results and copy ready for pasting elsewhere.  This would be useful in your case, and is probably what I would be tempted to use for your scenario if I was using Windows Vista or 7.

This could certainly be achieved using a relatively simple Batch file and XCOPY, but I really see no need when there are GUI programs (including what is already included with Windows) to do the job.

Author Comment

by:Computer Guy
ID: 39757534
SearchMyFiles does not have rules that would allow me to move the folders based on rules to another drive though.
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

LVL 38

Expert Comment

ID: 39758552
No, it involves finding the files then copying them from the results window and pasting them into a destination drive/folder in Windows Explorer.  The way I view this task is that it really wouldn't take long at all to copy and paste a bunch of folders.  It is a more hands-on approach certainly, but the more automated something is, the more chance there is of moving the wrong folder(s).

Author Comment

by:Computer Guy
ID: 39758705
Know of a program and that will move it based on the name or extension of the files in a folder?
LVL 38

Expert Comment

ID: 39760517
A "DOS" batch file and XCOPY which is present in all versions of Windows up to 7.  I don't know anything about Windows 8.

The command:
for /f "tokens=* delims=" %A in ('DIR /ad /on /b "C:\Music\Downloads" ^| find /i "rock"') do if exist "C:\Music\Downloads\%A\*.mp3" echo C:\Music\Downloads\%A>>"C:\Music\Downloads\MP3_Folder_List.txt"

Open in new window

executed in a new CMD window SHOULD create a text file list ("C:\Music\Downloads\MP3_Folder_List.txt") containing the fully qualified paths of ONLY the the first level of Folders under "C:\Music\Downloads" with "Rock" in the folder name, but only IF those folders contain one or more *.MP3 files.

Check this and see if it is accurate.  If so, we can then use a batch file or a command to open and read that list file and, for each line, execute the appropriate XCOPY command to copy all of those folders and their files into a new destination folder.  I am just getting ready for work, and so don't have the time at the moment to write out a batch file.
LVL 20

Expert Comment

ID: 39761332
Did you try the old Total Commander?
LVL 20

Accepted Solution

viki2000 earned 500 total points
ID: 39761336

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
where can I download a manual for a Magnavox VHS/DVD Player (Model# DV200MW8)? 4 36
Change size 15 53
Problem to file 13 57
How do i download a particular youtube video 7 46
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question