Hi,
I want write a script to zip the files in a directory with are not having *.gz extension files.
exp: source directory haveing *.log,*.sal,*.txt,*.gz....and some of files with out extension.
so i want ZIP the files which are not *.gz files in the same directory.
i worte like this:
find /apps/UMTS -atime +1 -exec gzip {} \; >>/apps/UMTS/tmp.log