Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

RE: cdrom stuff...

by ivey (Beadle)
on Jun 06, 2000 at 23:20 UTC ( [id://16709]=note: print w/replies, xml ) Need Help??


in reply to cdrom stuff...

1: why use perl?
cp -aR /cdrom /directory
should work, right?

2: try

perl -e 'system("cp -aR /cdrom /directory") or die "Cannot do it!"'

3: You could iterate through the cdrom, using a set of recursive readdirs, and then File::Copy each file. But that would be pointless.

Replies are listed 'Best First'.
RE: RE: cdrom stuff...
by Rydor (Scribe) on Jun 07, 2000 at 01:38 UTC
    that is only for suse. for most distros, it is /mnt/cdrom (after you've mounted /dev/cdrom) not /cdrom @///usr////((:::::bin:::::::::perl::::>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://16709]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-18 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found