Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 96
  • Last Modified:

Do you know of any programs that mass move folders?

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
Computer Guy
Asked:
Computer Guy
  • 3
  • 2
  • 2
  • +1
1 Solution
 
jvuzCommented:
Can this be of any help: http://bulkfilemanager.codeplex.com/
0
 
BillDLCommented:
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
 
Computer GuyAuthor Commented:
SearchMyFiles does not have rules that would allow me to move the folders based on rules to another drive though.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
BillDLCommented:
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
 
Computer GuyAuthor Commented:
Know of a program and that will move it based on the name or extension of the files in a folder?
0
 
BillDLCommented:
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
 
viki2000Commented:
Did you try the old Total Commander?
http://www.ghisler.com/
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now