Last active
October 5, 2023 03:04
-
-
Save davidmroth/abe44e4afbc100f8e3ea2a41b0fa7850 to your computer and use it in GitHub Desktop.
Zip folder while excluding subfolders from the resulting *.zip while flattening the folder hierarchy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zip -x ./folder/subfolder/.git -jr file.zip ./folder/subfolder/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment