Thanks jayan_jay
But i am getting the following output.
Is's increasing the size of the file.
HTML Code:
bash-3.00$ ls -l /opt/test
-rw-r--r-- 1 test test 15M Aug 22 18:20 old.war
bash-3.00$ find . -name "old.war" -type f -exec compress -f {} \;
bash-3.00$ ls -l /opt/test
-rw-r--r-- 1 test test 21M Aug 22 18:20 old.war
ahamed101 : old.war also not compress . showing the same error. . . .