LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-09-2003, 02:07 PM   #1
starunj
LQ Newbie
 
Registered: Jul 2003
Location: Purdue Univ, IN
Distribution: Red Hat 9
Posts: 15

Rep: Reputation: 0
Exclamation automatically copy stuff from cd;s


i want a program/script that automatically copies media such as mp3's or video or images or rip audio cd's in to a specific folder on the hard disk depending on the media.
this is for a freevo box that i'm planning to make, i want a program that automatically does this, and this program should run in the background.
thanks a lot for any suggestions
 
Old 07-10-2003, 02:21 AM   #2
FredrikN
Member
 
Registered: Nov 2001
Location: Sweden
Distribution: GNU/Linux since -97
Posts: 149

Rep: Reputation: 15
Hi
A shellscript like this maybe ?

#!/bin/sh
mount /mnt/cdrom || { echo "mount failed" ; exit 1 }
echo "CD mounted"

cp /mnt/cdrom/* /home/starunj/files/

exit 0
 
Old 07-10-2003, 02:50 AM   #3
starunj
LQ Newbie
 
Registered: Jul 2003
Location: Purdue Univ, IN
Distribution: Red Hat 9
Posts: 15

Original Poster
Rep: Reputation: 0
awesome. . . . thanks a lot. i didnt know where to start.
from this, may be i can modify it to do the stuff i want.
do you know any good source for shell scripts/shell script help?

thanks again FredrikN
 
Old 07-10-2003, 02:54 AM   #4
FredrikN
Member
 
Registered: Nov 2001
Location: Sweden
Distribution: GNU/Linux since -97
Posts: 149

Rep: Reputation: 15
http://www.tldp.org/LDP/abs/html/textproc.html

is great or just use yahoo or something
 
Old 07-10-2003, 03:26 AM   #5
starunj
LQ Newbie
 
Registered: Jul 2003
Location: Purdue Univ, IN
Distribution: Red Hat 9
Posts: 15

Original Poster
Rep: Reputation: 0
thanks a lot, again
 
  


Reply



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
Automatically copy images off digital camera taboom Linux - Software 7 08-31-2005 03:07 PM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 04:37 PM
how to copy and paste acd copy cd paschim Linux - General 2 04-05-2004 09:25 AM
Where did all my stuff go?? spaztik Linux - Newbie 7 02-06-2004 09:18 AM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:09 AM.

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