Created
October 22, 2020 02:55
-
-
Save kaipyroami/8cd4954d812c68b476346a0dcc9bea26 to your computer and use it in GitHub Desktop.
If it is not zipped then zip it, test integrity and delete original.
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
#!/bin/sh | |
find . -type f \( -iname "*" ! -iname "*.zip" \) -execdir zip -m -T '{}.zip' '{}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment