Bash Script To Do Log File Rotate

3 Responses

  1. Roberto says:

    Hi,

    thanks for the scipt, but, how can i remove older files in “move directory”?

    I’ve tried to add this line under the same yours, but don’t work..:

    find $2 -type f -mtime +7 -exec rm {} \;

    Can you help me?

Leave a Reply