Skip to content

Instantly share code, notes, and snippets.

@hed0rah
Created April 29, 2026 19:57
Show Gist options
  • Select an option

  • Save hed0rah/a0d82c408910006dbac461f39c3c9291 to your computer and use it in GitHub Desktop.

Select an option

Save hed0rah/a0d82c408910006dbac461f39c3c9291 to your computer and use it in GitHub Desktop.
tarball exclude revision controll stuff
tar \
--exclude='.git' \
--exclude='node_modules' \
--exclude='__pycache__' \
--exclude='.venv' \
--exclude='venv' \
--exclude='.next' \
--exclude='dist' \
--exclude='build' \
--exclude='target' \
--exclude='.cache' \
--exclude='*.pyc' \
--exclude='.DS_Store' \
-czvf codes.tar.gz codes/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment