Last active
June 12, 2022 10:20
-
-
Save blurymind/c6bcfa17d2143203ee631c577d61d018 to your computer and use it in GitHub Desktop.
foldersToCbz.sh
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 | |
# thunar folder custom action /home/fox/INSTALL/createCbzFromFolder.sh %F | |
# %F is full path to all selected folders | |
for var in "$@" | |
do | |
echo "$var" | |
7z a "$var".7z "$var"/* | |
mv "$var".7z "$var".cbz | |
rm -r "$var" | |
done | |
zenity --notification --text "done! Made all 7z cbz and deleted the folders." | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment