I am saving a stream in my HDD.
I'd like to copy the file periodically into a subfolder backup
such that the older versions of the the file are not deleted.
Simply put
- Assume the original file is
somefolder/data
. - The first backup should be
somefolder/backup/data.1
- The second backup should be
somefolder/backup/data.2
- This process should continue in an interval of t minutes/seconds
How do I go about doing this?