This returns the number of days since the file was created, which allows you to easily determine which files are over a certain age if, for instance, you're trying to clean up your directory.$date = -C $file;
Otherwise, use stat.
In reply to Re: Reading a directory and getting file dates
by TedPride
in thread Reading a directory and getting file dates
by esolm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |