Hi Gurus,
I have a requirement to zip a file using gzip and ftp it to target server.
I am using a gzip script as below.
gzip.sh
#!/bin/ksh
/usr/bin/gzip -9 $1
Filename for gzip.sh is passed by an application program.
so the output for ./gzip.sh Test_YYYYMMDDHHMMSS.txt (file name is dynamic ) is Test_YYYYMMDDHHMMSS.txt.gz
but requiremnt is that file to be sent is Test_YYYYMMDDHHMMSS.gz not Test_YYYYMMDDHHMMSS.txt.gz
Can you please help me to acomplish this.
Thanks,
Varma