Originally Posted by colucix
It simply does not remove the tar.gz file or it gives some error message? Try to launch the script as
this will display the actual command the shell will try to execute after the wildcard expansion. Useful for debugging.
no error at all. The shell output ends with this:
226 Transfer complete
21576713 bytes sent in 17 seconds (1.2e+03 Kbytes/s)
The file is created with permissions -rw-r--r-- 1 root root