troubleshooting Question

build a bash script to untar/unzip all files in a tree.

Avatar of billtouch
billtouchFlag for United States of America asked on
Linux OS DevShell Scripting
3 Comments1 Solution977 ViewsLast Modified:
I need to have a script to expand all the .tar/.gx/.bz2 files in a tree.

I stole a script function to execute the correct expanding programs. Then I tried to pipe filenames to it (with full paths) and that failed complaining that  "extract": No such file or directory.

Can anyone help me correct my approach?
 
 c.sh
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros