• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Remove File not accessed for X days

Hammer

Chevereto Member
hi guys
i use this -atime to find and remove files not accessed for X days
Code:
....
this will remove files not accessed for more than 10 days in folder
always take backup before using this
 
Last edited:
Hi Hammer,
Thanks for the code.
But where is this piece of code run? It doesn't look like a SQL Query to me (but I might be wrong?)
 
Only works in chevereto <2.x as chevereto <2.x uses database, it will corrupt the chevereto integrity.
 
Back
Top