vote up 0 vote down star

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

flag

29% accept rate

migrated from stackoverflow.com

1 Answer

vote up 4 vote down check

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

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

link|flag

Your Answer

Get an OpenID
or
never shown

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