Subdirectory size limit/retention policy

Questions pertaining to Power settings, Auto Block, Permissions, User Quotas and Email alerts may be posted here.
Forum rules
We've moved! Head over to Synology Community (community.synology.com) to meet up with our team and other Synology enthusiasts!
Michele31415
I'm New!
I'm New!
Posts: 9
Joined: Sun Jul 23, 2017 6:22 pm

Subdirectory size limit/retention policy

Unread post by Michele31415 » Sun Mar 11, 2018 9:43 pm

I have a DS-211J running the latest firmware. Is there any way to specify a maximum size limit of a subdirectory and a retention policy like "Delete the oldest files first to make more room if the directory is full"? Thanks.

Michele31415
I'm New!
I'm New!
Posts: 9
Joined: Sun Jul 23, 2017 6:22 pm

Re: Subdirectory size limit/retention policy

Unread post by Michele31415 » Tue Mar 13, 2018 5:21 pm

Someone? Anyone? I've searched everywhere for an answer to this without success and automatically deleting files is not something I feel like just experimenting with.

telos
Specialist
Specialist
Posts: 1093
Joined: Mon Sep 23, 2013 6:12 pm

Re: Subdirectory size limit/retention policy

Unread post by telos » Tue Mar 13, 2018 9:15 pm

You'll need to write a simple script. Set it up to run here ...
Control Panel -> Task Scheduler -> Create -> User-defined script

On the General tab, let it run as "admin". Set the schedule as you desire.

Locked

Return to “System Management”