Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-17-2005, 12:25 AM   #1
Registered: Nov 2004
Location: San Diego
Distribution: Mepis w/ 2.6.9 kernel, KDE 3.3
Posts: 36

Rep: Reputation: 15
Recursive Copy

I'm trying to move all my mp3 files that are in various directories (by band and album) into one big folder all together. For example:

\A Perfect Circle
\Mer de noms

My guess was to go into the music directory and try "mv -r *.mp3 ." but that didn't work.

Is there a way to accomplish this easily?
Old 07-17-2005, 12:58 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
find -type f -iname "*.mp3" -exec mv "{}" target/. \;


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP::Recursive innuendo_98 Programming 2 04-05-2005 09:28 AM
How to do recursive file copy of directory for specific files? Arodef Linux - Newbie 4 06-29-2004 06:35 PM
rm -r what is recursive wogga Linux - Software 3 05-28-2004 03:29 PM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 01:40 PM
recursive downloads watashiwaotaku7 Linux - General 4 03-08-2003 10:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration