On Tue, 23 Dec 2003 19:08:28 -0800 (PST), you wrote:
>>How can I unlink files in a directory that are, for example older than 1
>>hour?
>
>`find /path/to/dir -cmin +60 -type f -print0 | xargs -0 rm -f`;
Alternatively, for cross-platformness user opendir() and readdir() to
iterate over the directo
>How can I unlink files in a directory that are, for example older than 1
>hour?
`find /path/to/dir -cmin +60 -type f -print0 | xargs -0 rm -f`;
-
michal migurski- contact info and pgp key:
sf/cahttp://mike.teczno.com
2 matches
Mail list logo