Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Automatically delete files in a share that are older than x days

Featured Replies

Is there anyway to setup an automated process to delete files older than a set number of days from one specific share? My use case would be the following:

 

Have 24/7 CCTV footage written to separate cache pool

Have mover transfer files to the array once a day to save on continuous writing

Keep footage archived for 30 days, then deleted automatically

 

This way, I would always have a month worth of footage I could go back to at anytime. Is this possible? I feel like this is probably a user script kind of thing, but I have little to know knowledge of how to use scripts let alone write them.

 

Thanks

  • 4 months later...

Bumping this because I have the exact same usecase.

Did you find anything @jebusfreek666?

  • 2 weeks later...
  • Author
On 9/10/2021 at 1:50 AM, Flemming said:

Bumping this because I have the exact same usecase.

Did you find anything @jebusfreek666?

Not really. I am pretty sure this can be handled with a user script, though I am not an expert by any means. In my case, I am starting to think I will just use dedicated unassigned disks or possibly a cache pool instead. Depending on the number of cameras I end up with and the quality of the video, this could be a rather large amount of data. And expecting mover to handle that much every day might be asking a bit much. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.