Solved

Copy Files From Within A Folder

Posted on 2014-01-19
10
540 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 90

Expert Comment

by:John Hurst
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 16

Expert Comment

by:joinaunion
Comment Utility
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 30

Expert Comment

by:Gareth Gudger
Comment Utility
You might want to also look at RichCopy. It is a free tool from Microsoft and has some very powerful copying options.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 78

Expert Comment

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

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
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 78

Expert Comment

by:David Johnson, CD, MVP
Comment Utility
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
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
Comment Utility
Any luck?
0

Featured Post

Do email signature updates give you a headache?

Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now