Is there a way to shorten this or write it in a script. The file to be compressed will be USFINUM but as you can see the month and the year will change and there can be three files (1-3).
I am sorry, did not explain properly. When I run this command with the wild card * it does not pick up the files to compress - probably there are 2-3 files with that name but with different month, year and extensions. Though the file name starts with USFINUM. So had to make it so long.
what difference it is going to make if they have different month / year / day ?
everything would be selected for compression by the meta character ' * '