use a 2 line shell script.
the first line will do the compression (I assume you use gzip -- or even tar as you had in your earlier post)
the second line can rename the compressed file.
If you are doing more than one file then the script can handle that as well with a for or while loop as it reads the original file names and compresses them.
Last edited by computersavvy; 03-27-2021 at 09:03 PM.
|