LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Forgot command to copy music to Hard drive? (http://www.linuxquestions.org/questions/linux-software-2/forgot-command-to-copy-music-to-hard-drive-542530/)

M$ISBS 04-01-2007 11:03 PM

Forgot command to copy music to Hard drive?
 
About a year ago I had coppied music from CD`s to my hard drive but I cannot remember how :(
Can someone refresh my memory. I remember it was some kind of command line thing. :?:
Slackware 11, KDE.

Thanks.

rrobason 04-02-2007 12:09 AM

options for copying files to drive
 
There are a couple of standard UNIX commands you can use for copying files:

$ cd music_directory
$ cp -r * /hard_drive_destination_directory

will do a recursive copy of the contents of your music directory.

A little fancier version of the same thing:
$ find /music_directory | cpio -pvd /hard_drive_destination_directory
will display a list of the files as they're copied.

Rob

M$ISBS 04-02-2007 12:19 AM

huh?
I dont have a music directory. I just want to convert non music CD format to hard drive to listen to from hard drive. I cannot play directly from CD rom.

djake 04-02-2007 12:28 AM

I don't know if I understand you correctly, do you want to copy a usual music CD to your hard drive?

If that is what you want, you can use Kaudiocreator, or cdparanoia from the command line.

M$ISBS 04-02-2007 12:37 AM

Yes, I want to copy music from a CD to my hard drive. I tried cdparanoia -B but that copies it as a wav file. Is there any way to copy as a MP3?

Thanks Everyone.

muddywaters 04-02-2007 08:34 AM

Quote:

Originally Posted by M$ISBS
Yes, I want to copy music from a CD to my hard drive. I tried cdparanoia -B but that copies it as a wav file. Is there any way to copy as a MP3?

Good question. When working from cli I use cdparanoia followed by lame. I have a little script that automates the process. But what if the user couldn't spare the hard drive space? Even looped one track at a time, wav files can get quite large.

Kde users can use kio
http://antrix.net/stuff/kde_audiocd/

Something that catches the eye in that link;

Quote:

KDE will start ripping and encoding the files on the fly
Not sure how literally to take that or if something similar can be done from terminal.

Gethyn 04-02-2007 08:40 AM

If you want a command line tool, you could try abcde, although it is a bit of a fiddle to set up on Slackware as there is no Slack package and you need to find and install all the dependencies first. You could also try this page, or best of all, try doing a search for Linux mp3 encoders and see if you can find the program you used last time/another that suits you.


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