Thursday, September 18, 2014

delete logs file older then 2 days

find /opt/all_logs/logs -mmin +2880 -exec rm {} \;

1 comment:

  1. Thanks for sharing this Information !!

    Check out More Linux Related.
    (Installation/Configururation/Trouble Shooting etc) at :
    Linux Trouble Shooting

    ReplyDelete