[CentOS] Find files
centos at 911networks.com
centos at 911networks.comFri Feb 22 21:40:11 UTC 2008
- Previous message: [CentOS] PostgreSQL 8.3.0 rpm packages for RHEL5/CentOS5
- Next message: [CentOS] Find files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I am trying to delete files that are more than 7 days old. When I run it interactively it works, no problem, but it does not run from a file stored in cron.daily. The rest of that daily file runs properly. [The execute bit is on]. I don't see anything in the /var/log/messages. --------------------------------------- #!/bin/bash find /mnt/iog -type f -name '*.tar.gz' -mtime +7 | xarg rm --------------------------------------- Any idea what am I missing? -- Thanks http://www.911networks.com When the network has to work
- Previous message: [CentOS] PostgreSQL 8.3.0 rpm packages for RHEL5/CentOS5
- Next message: [CentOS] Find files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list