My Ubuntu system is set up as an FTP server. I have several networked security cameras which send hundreds of MPEG4 video clips to the FTP server every day. These files are stored on a USB-attached external HDD. Each file is about 1.5MB. This works well. The computer is an old laptop with minimal processing power but its only purpose is to save the FTP'd files. I'm running 12.04.
My problem is that the folders the video clips are stored in eventually have thousands of files. Just to open a folder to view the clips takes up to a half hour. And forget about trying to drag/drop these files to another folder - that will take hours or days.
What I would like to do is, on a daily basis, have all files older than a week moved to a series of backup folders that are created automatically and named by the year/month/week. This will keep the number of files in each folder manageable and readily indexed by the week of the year. No need to compress the files as they are already MPEG4 and I have plenty of storage.
I've looked at several backup/archival apps and just can't seem to find something that will do what I need. Are there any apps that can do such a thing? If not, I imagine a cron job that runs a script would be appropriate but from what I've read up on so far, it's getting too complex for my experience level with Linux command line.