Skip to content

Instantly share code, notes, and snippets.

@rohitfarmer
Created July 26, 2022 19:05
Show Gist options
  • Save rohitfarmer/09f930a515208cd260d2ed2b997ffdcf to your computer and use it in GitHub Desktop.
Save rohitfarmer/09f930a515208cd260d2ed2b997ffdcf to your computer and use it in GitHub Desktop.
File Compression and Archive

Create TAR Archives

An example from H5.

tar --exclude-vcs --exclude-backups --exclude=._* --exclude='Flow_15c' --exclude='h5n1_3.6_new_enet.sif' --exclude=temp* -zcvf h5n1_july_26_2022.tar.gz h5n1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment