Created
November 7, 2023 08:12
-
-
Save Sarverott/26570ba71c9d4bcc876ecee19bbbabe1 to your computer and use it in GitHub Desktop.
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 | |
# written to transfer big audiobook library | |
find . -type d -maxdepth 1 -not -name "." -exec sh -c "zip -r \$(echo {} | tr ' ' '_').zip \"{}\" " \; | |
# it seams handy in future |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
directories containing some chars are not replaced by "tr"