We help IT Professionals succeed at work.

Automatically uncompressing file on a CD and sending to a location

holcrofts
holcrofts asked
on
242 Views
Last Modified: 2013-12-15
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?
Comment
Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Top Expert 2007
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Yes I did mean that the system should detect these files once the Cd is mounted, and then copy and uncompress them.

Thanks

Andrew
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.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.