Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Reading the file table off a CD

by webdaemon (Acolyte)
on Mar 16, 2001 at 22:49 UTC ( [id://64972]=note: print w/replies, xml ) Need Help??


in reply to Reading the file table off a CD

perl -e'@a=`find /mnt/cdrom`=~ /\n(.*)\n/g;print @a;'

This one line will fill and dispay the @a array with all the files on of the cdrom

Some perl gurus will say that using find and quotes is for lazy people .. but isn't it perl philosophy ?

Log In?
Username:
Password:

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

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

    No recent polls found