up vote 1 down vote favorite
1
share [g+] share [fb]

Can it be done with tar? Do I have to write a bash script?

link|improve this question

62% accept rate
feedback

migrated from stackoverflow.com Dec 22 '09 at 0:04

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 5 down vote accepted

tar -xzf foo.tar.gz -C bar/

This extracts a gzipped foo.tar.gz after changing directory to bar

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.