using find to list old files based on date

find /var/log -mtime -14 -type f -exec ls -al {} ;

source

Leave a Reply