Login required to started new threads

Login required to post replies

copying files to a thumb drive
Quote | Reply
I need to copy thousands of .mp3 files from my laptop to a thumb drive, but I need to strip out all the folders. Right now they are organized "music/artist/album/song.mp3" but I need to copy close to 6k of them to the root folder of the thumb drive. Is there an easy way to do that?

I miss YaHey
Quote Reply
Re: copying files to a thumb drive [Justgeorge] [ In reply to ]
Quote | Reply
https://superuser.com/...nto-single-directory

How does Danny Hart sit down with balls that big?
Quote Reply
Re: copying files to a thumb drive [Justgeorge] [ In reply to ]
Quote | Reply
I'd probably use python for this personally. A variation of this would work.

https://stackoverflow.com/...ent-folder-in-python

If you want to use windows commands, one of these ought to help:
https://superuser.com/...ers-to-parent-folder
https://superuser.com/...to-the-parent-folder
Quote Reply
Re: copying files to a thumb drive [BLeP] [ In reply to ]
Quote | Reply
Thanks. So for me I would get into the cmd screen and use

for /r c:users/public/public music %f in (*.mp3) do @copy "%f" F:\
??

I don't know if I have the forward/back slashes right.

I miss YaHey
Last edited by: Justgeorge: Aug 6, 19 8:53
Quote Reply
Re: copying files to a thumb drive [Justgeorge] [ In reply to ]
Quote | Reply
Justgeorge wrote:
Thanks. So for me I would get into the cmd screen and use

for /r c:users/public/public music %f in (*.mp3) do @copy "%f" F:\
??

I don't know if I have the forward/back slashes right.

Play with it. (That’s what she said)

How does Danny Hart sit down with balls that big?
Quote Reply
Re: copying files to a thumb drive [Justgeorge] [ In reply to ]
Quote | Reply
Easiest way is just do a *.* search from Explorer from the root folder of all the files. Then select all the files (sorting out the folders) and drag to your thumb drive.
Quote Reply