Hi,
Is there any way to change the file name while compressing ? using Compress and gzip and tar ?
Say, I have a file foo.txt - so I have to compress this file and the resultant file name is foo.txt_20130113.gz or foo.txt_20130113.Z
This to be done while performing the compression operation and the UNIX file modification time should be changed to time of creating the compressesd file.
Longback I done using zip / jar command. Unfortunately, I dont have zip or jar installed in my AIX currently.
Any ideas ?
Thanks.