Solved

Do you know of any programs that mass move folders?

Posted on 2014-01-02
8
91 Views
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.
0
Comment
Question by:Computer Guy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 21

Expert Comment

by:jvuz
ID: 39753244
Can this be of any help: http://bulkfilemanager.codeplex.com/
0
 
LVL 38

Expert Comment

by:BillDL
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.
0
 
LVL 3

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.
0
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 
LVL 38

Expert Comment

by:BillDL
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).
0
 
LVL 3

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?
0
 
LVL 38

Expert Comment

by:BillDL
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.
0
 
LVL 21

Expert Comment

by:viki2000
ID: 39761332
Did you try the old Total Commander?
http://www.ghisler.com/
0
 
LVL 21

Accepted Solution

by:
viki2000 earned 500 total points
ID: 39761336
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Originally published Entrepreneur.com Booming numbers of freelancing professionals are changing the face of work. In the United States alone last year, the number of workers freelancing grew from 700,000 to 54 million, according to a Freelancers’…
Whether you believe the “gig economy,” as it has been dubbed, is the next big economic paradigm shift (https://www.theguardian.com/commentisfree/2015/jul/26/will-we-get-by-gig-economy) or an overstated trend (http://www.wsj.com/articles/proof-of-a-g…
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…
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.

738 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