contracer ha scritto:
> 12
Ok. And the output of:
/usr/bin/find /home/devalias/transfer* -type f -name "*.txt" -mtime +90
and of:
/usr/bin/find /home/devalias/transfer* -type f -name "*.cfm" -mtime +90
If find doesn't find any files, there are no files to delete.
If, on the contrary, some files are found, then:
- try using "-delete" instead of "-exec rm -f {} \;"
- try to delete one of them manually. What happens?
- has the user who runs this script the rights to delete these files?
- are these files immutable? Check with lsattr
- on which kind of filesystem are the files? Which options is it mounted with?