holcrofts
asked on
Automatically uncompressing file on a CD and sending to a location
I currently get sent a CD of log compressed information, on a regular basis. At the moment I am copying them off the CD, and uncompressing them using gzip. Is there a way I can automate this process, and send them to a directory?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if the CD *always* has a specfic code in the volume id (like a vendorname perhaps) that would be unique from other cds, there you should be able to detect this and automatically mount the cd, and use the other scripts provided here to copy the files.
If you cant find a unique code, then you are forced to manually type "process_logs" or whatever you name your shell script.
If you cant find a unique code, then you are forced to manually type "process_logs" or whatever you name your shell script.
ASKER
Thanks
Andrew