Buffalo Forums

Products => Storage => Topic started by: jostry on September 18, 2018, 11:33:46 AM

Title: LinkStation 220 File Retention
Post by: jostry on September 18, 2018, 11:33:46 AM
Is there any way to setup some sort of File Retention with the LinkStation 220? I will be using the drive to store audio recordings but only want 120 days of recording. Is there a way to setup the drives to delete files that are older than 120 days?

Thank you,
Jake
Title: Re: LinkStation 220 File Retention
Post by: Texturtle on September 18, 2018, 11:40:04 AM
The LinkStation doesn't have this ability, it just functions as storage.
Title: Re: LinkStation 220 File Retention
Post by: jostry on September 18, 2018, 11:49:20 AM
Do you know if any of the Buffalo Storage drives have a File Retention feature?

Thank you,
Jake
Title: Re: LinkStation 220 File Retention
Post by: Texturtle on September 18, 2018, 11:56:42 AM
They do not, it's expected that whatever software is using the share will handle file retention.
Title: Re: LinkStation 220 File Retention
Post by: oxygen8 on September 18, 2018, 01:24:53 PM
use ssh and cron

example for LS520D (/usr/bin/find)

0 4 * * * /usr/bin/find /XXX -iname "*" -mtime +120 -delete


replace XXX with the folder path
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 65 (show)
Files included: 27 - 1055KB. (show)
Memory used: 733KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]