- Compares the date of all files from the directories PATTERNS[] (except the files given in EXCLUDEFILES) and compresses the file if it is newer than the already existing compressed one. If no compressed version exists, it is created. All compressed files go to directory REDIRECTDIR.
- Issues a warning if compressed file is bigger than the uncompressed.
- Issues a warning if a compressed file exits but no uncompressed version of it (=compressed file is not needed anymore)
Compressing files script for Linux
-
- Godlike
- Posts: 2394
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Compressing files script for Linux
Just saw that UZ Creation Organizer [batch tool] and thought it would be nice to publish my bash script for Linux.
You do not have the required permissions to view the files attached to this post.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett