- 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
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.
- Attachments
-
- CompressMissingFiles.sh.7z
- (1.69 KiB) Downloaded 50 times
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett