You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to share a simple cleanup script I made, it moves user data 7 days after file modification time to the backup dir.
And 7 days after that it removes the backup of that data.
My script is locked ALL the way down using systemd security features, so if your data location is different, make sure you update the paths in both the script and the service.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
Just wanted to share a simple cleanup script I made, it moves user data 7 days after file modification time to the backup dir.
And 7 days after that it removes the backup of that data.
My script is locked ALL the way down using systemd security features, so if your data location is different, make sure you update the paths in both the script and the service.
https://gist.github.com/Gunni/04d0d63194247e466964e15df208b210
Beta Was this translation helpful? Give feedback.
All reactions