Skip to content

Instantly share code, notes, and snippets.

@felipem775
Created October 17, 2018 20:15
Show Gist options
  • Save felipem775/adf373d9c3bc65e49d87678148053c04 to your computer and use it in GitHub Desktop.
Save felipem775/adf373d9c3bc65e49d87678148053c04 to your computer and use it in GitHub Desktop.
untar files in a different path
for filename in *.tar; do
tar -xf "$filename" -C "destino"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment