How do I do a selective, recursive copy ? Bash script ?

2008-10-27 Thread Linuxguy123
I have a huge multi level directory of legally ripped music. I ripped my CDs as flac and mp3. How do I easily copy just the mp3 files onto another drive ? Ie, ignore the flac files and copy only the mp3 files ? I want to keep the directory structure intact. The main directory is Music. In

Re: How do I do a selective, recursive copy ? Bash script ?

2008-10-27 Thread Bruno Wolff III
On Mon, Oct 27, 2008 at 15:26:22 -0400, Linuxguy123 [EMAIL PROTECTED] wrote: I have a huge multi level directory of legally ripped music. I ripped my CDs as flac and mp3. How do I easily copy just the mp3 files onto another drive ? Ie, ignore the flac files and copy only the mp3 files ?

Re: How do I do a selective, recursive copy ? Bash script ?

2008-10-27 Thread Michael Schwendt
On Mon, 27 Oct 2008 15:26:22 -0400, Linuxguy123 wrote: I have a huge multi level directory of legally ripped music. I ripped my CDs as flac and mp3. How do I easily copy just the mp3 files onto another drive ? Ie, ignore the flac files and copy only the mp3 files ? I want to keep the

Re: How do I do a selective, recursive copy ? Bash script ?

2008-10-27 Thread Peter Langfelder
On Mon, Oct 27, 2008 at 12:26 PM, Linuxguy123 [EMAIL PROTECTED] wrote: I have a huge multi level directory of legally ripped music. I ripped my CDs as flac and mp3. How do I easily copy just the mp3 files onto another drive ? Ie, ignore the flac files and copy only the mp3 files ? I want

Re: How do I do a selective, recursive copy ? Bash script ?

2008-10-27 Thread Linuxguy123
On Mon, 2008-10-27 at 14:39 -0700, Peter Langfelder wrote: On Mon, Oct 27, 2008 at 12:26 PM, Linuxguy123 [EMAIL PROTECTED] wrote: I want to preserve the directory structure. I feel a script coming on. Am I right ? Look at the man page for rsync. Basically a command like rsync -avu

Re: How do I do a selective, recursive copy ? Bash script ?

2008-10-27 Thread Alan Cox
On Mon, 27 Oct 2008 15:26:22 -0400 Linuxguy123 [EMAIL PROTECTED] wrote: I have a huge multi level directory of legally ripped music. I ripped my CDs as flac and mp3. How do I easily copy just the mp3 files onto another drive ? Ie, ignore the flac files and copy only the mp3 files ? I

Re: How do I do a selective, recursive copy ? Bash script ?

2008-10-27 Thread Linuxguy123
On Mon, 2008-10-27 at 14:39 -0700, Peter Langfelder wrote: Look at the man page for rsync. Basically a command like rsync -avu --exclude='*.flac' oldDir/ newDir/ Task completed. rsync worked great. Thanks -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: