Works in cygwin as well. Bye bye old logs.
find /path/to/files* -mtime +5 -exec rm {} \;
Source: Delete Files Older Than x Days on Linux :: the How-To Geek
Works in cygwin as well. Bye bye old logs.
find /path/to/files* -mtime +5 -exec rm {} \;
Source: Delete Files Older Than x Days on Linux :: the How-To Geek
Post a Comment