I have a file say test.gz ( its not compressed just file name is like that). I want to gzip that test.gz file.
When try
#gzip test.gz
it gives error.
I want that in a script as to test if its compressed then not gzip or if compress that file
Start Free Trial