Skip to content

Instantly share code, notes, and snippets.

@lucianovalenca
Last active March 21, 2018 18:21
Show Gist options
  • Select an option

  • Save lucianovalenca/495164f5a67869ba8ff6549c4324d5ea to your computer and use it in GitHub Desktop.

Select an option

Save lucianovalenca/495164f5a67869ba8ff6549c4324d5ea to your computer and use it in GitHub Desktop.
# Ccreate a tar archive of the current directory
tar --xform s:'./':: -czvf ../myarchive.tar.gz ./
# Recursively Zip a Directory and Files
zip -r name_of_your_directory.zip name_of_your_directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment