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
Is it possible to create an environmental variable called DELETE_AFTER or something similar that before or after a download/check automatically deletes all downloaded videos that have a date created/date modified older than X hours? This would make it easy to keep a chompy downloads folder clean without worrying about file size of videos, as an alternative to the MAX_SIZE variable. I'd like to keep videos around for 1 or 2 days, but no more, regardless of length/size.
Might have to automatically disable this if the PLAYLIST_SYNC variable is set.
The text was updated successfully, but these errors were encountered:
One possible option: You could set up a cron script to run find within the download folder for files older than your desired timeframe.
This could be built into Chompy with enough user interest, but one advantage of Chompy's simple, file-oriented design (no databases to muck with) is you can easily/safely do these deletions in a separate script.
Is it possible to create an environmental variable called DELETE_AFTER or something similar that before or after a download/check automatically deletes all downloaded videos that have a date created/date modified older than X hours? This would make it easy to keep a chompy downloads folder clean without worrying about file size of videos, as an alternative to the MAX_SIZE variable. I'd like to keep videos around for 1 or 2 days, but no more, regardless of length/size.
Might have to automatically disable this if the PLAYLIST_SYNC variable is set.
The text was updated successfully, but these errors were encountered: