Describe the bug
In the last issue about backups, the file names were standardized and a folder named "older" was created to move files that didn't fit any yesterday's date. The videos are getting backed-up but they are all being moved to "older" even though the date is correct.
To Reproduce
Steps to reproduce the behavior:
Wait for backups to run
Check folders by date in external drive
Check folder "older" in external drive
Expected behavior
videos should be moved to the right date folder if they match yesterday's date
Raspberry Pi information (please complete the following information):
Added functionality to move older videos (that might not have been moved previously for some reason) to its right folder (creates it if it doesn't exist) instead of moving them to folder named 'Older'
Moved substring 'validation' to the end of the filename so it can extract the foldername from the filename easier, using the box_id as a search pattern
Describe the bug In the last issue about backups, the file names were standardized and a folder named "older" was created to move files that didn't fit any yesterday's date. The videos are getting backed-up but they are all being moved to "older" even though the date is correct.
To Reproduce Steps to reproduce the behavior:
Expected behavior videos should be moved to the right date folder if they match yesterday's date
Raspberry Pi information (please complete the following information):