in reply to system "gzip $full_name" is taking more time

Why do you think that a gzip process should finish at least in the same time as it takes to remove a file? (Mind that gzip creates a temporary file to replace the existing one. And there you have two file system activities that has yet to account for time taken for compression.)

  • Comment on Re: system "gzip $full_name" is taking more time