david
11-06-2000, 08:23 PM
Okay, redid win partition on 15gig hd that had mp3's on it, it was screwed up REAL bad. anywho, i did an "ls" of the dir because all our mp3's are on cd's, and my brother went thru them all and put some of them on the hd(faster than changing cd's http://www.linuxnewbie.org/ubb/smile.gif ).
Anywho, what i have to do now:
make a script that goes thru each line of the file with all the mp3s, and do "cp file /mnt/win3"
where file would be each line. i would execute this from the cd, on each, so it would copy whatever mp3's that were on the hd from that cd back on the hd.
_OR_
is there any way i could get "cp" to read stdout? eg/
cat mp3e | cp (stdout) /mnt/win3
(mp3e is the file with the list of mp3's)
is there anything i can put as source so it reads the stdout?
------------------
-David
Linux user since June, 2000
"Only forest fires prevent bears"
"Kids in the back seat cause accidents,
accidents in the back seat cause kids"
:D :D
Anywho, what i have to do now:
make a script that goes thru each line of the file with all the mp3s, and do "cp file /mnt/win3"
where file would be each line. i would execute this from the cd, on each, so it would copy whatever mp3's that were on the hd from that cd back on the hd.
_OR_
is there any way i could get "cp" to read stdout? eg/
cat mp3e | cp (stdout) /mnt/win3
(mp3e is the file with the list of mp3's)
is there anything i can put as source so it reads the stdout?
------------------
-David
Linux user since June, 2000
"Only forest fires prevent bears"
"Kids in the back seat cause accidents,
accidents in the back seat cause kids"
:D :D