Solved

Copy Files From Within A Folder

Posted on 2014-01-19
10
550 Views
Last Modified: 2014-02-04
I downloaded my entire music album off of Google Music, and its sorted by a Folder (Artist Name) and then the album Name, and the finally the MP3's are within each album folder.

Now i want to copy just the MP3's to my USB drive. How can i automate this without having to manually go through each folder and do a copy/paste...

Thanks!
0
Comment
Question by:Cobra25
  • 2
  • 2
  • 2
  • +4
10 Comments
 
LVL 93

Expert Comment

by:John Hurst
ID: 39792785
I think you will have to use the Command processor to do a DIR {source} /s  > File.txt to get the files in a text file. Then create a batch file to copy each line all to the same location. This should work. Test with a few files first.

Most of the GUI tools I know (Windows Explorer, xPlorer2, Total Commander) will not do this because they keep the folder structure and you would have copy out of each folder and paste where you want.

... Thinkpads_User
0
 
LVL 16

Expert Comment

by:l33tf0b
ID: 39792823
create test.bat (save as all filest, not txt file)

mkdir test
for /r %%x in (*mp3) do copy "%%x" test\

this should copy all mp3 files to test folder.  Put batch file in parent folder.
0
 
LVL 28

Accepted Solution

by:
chilternPC earned 500 total points
ID: 39792832
so you only want to copy all the mp3 files to a single folder?

open windows explorer ( <windows key><e> ) then navigate to the top folder where the music files are stored.  click onto the top folder of where the music you want to copy is  and in the top right type of the dialog  window in the search box type in  " *.mp3 " and press enter and it will list of all your mp3 files  it finds underneath that top folder. when the search is complete select the entire list  i.e. click on anyone of the mp3 files in the list then click on <ctrl>A to select the entire list
then press <ctrl>c to copy
in the windows explorer go to your USB drive list the contents. click on the area and press <ctrl>v to paste
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 16

Expert Comment

by:joinaunion
ID: 39792850
Is it downloaded to one specific folder?

If it is open the folder you downloded to then in the search bar put in *mp3 after it finds them all highlite one then press ctrl+a this will highlite all of the mp3's now drag and drop them all to your usb.
0
 
LVL 31

Expert Comment

by:Gareth Gudger
ID: 39792851
You might want to also look at RichCopy. It is a free tool from Microsoft and has some very powerful copying options.
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 39792868
From windows explorer in the search pane select *.mp3 then select all copy then paste in the destination folder
0
 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 39792918
Hi Cobra25,
Thinkpads_User mentioned the excellent shareware file manager called Total Commander, which I've been using for many years:
http://www.ghisler.com/

If you're interested in a file manager that is light years ahead of Windows Explorer, you may want to give it a try. It can easily do exactly what you want. You simply search for all MP3 files (*.mp3) starting in whatever root folder you want (by default, the search command includes all subfolders). You'll get a "Search results" box that looks like this:

Total Commander search resultsThen click the "Feed to listbox" button and it will feed all of the search results into the left pane of the main program. It will look like this:

All MP3s in left pane without folder structureThen just do a Select All click the Copy button (or F5) and it will copy everything into the folder in the right pane without any folder structure. Of course, that means you must be prepared for an overwrite warning, since you could have a song with the same file name in different folders in your source music library. Total Commander will give this dialog if that happens:

Overwrite warningYou'll notice that it has lots of nice options for dealing with it, such as overwriting, overwriting older files, skipping, renaming, etc. It even has an option for auto-renaming, which is a great feature when you're dealing with thousands of files. Regards, Joe
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 39792978
0
 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 39795744
Hi Cobra25,
In case you're not familiar with how embedded images work at EE, they are essentially thumbnails. Sometimes a thumbnail is clear enough to read easily, such as the first one in my post above, but other times it's impossible to see the thumbnail clearly, such as the second two in my post above. In those cases, simply click the thumbnail and it will bring up the image full size in a new browser tab. Regards, Joe
0
 
LVL 16

Expert Comment

by:joinaunion
ID: 39798052
Any luck?
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

786 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