search for: originalfilename__rsync_yyyymmdd

Displaying 1 result from an estimated 1 matches for "originalfilename__rsync_yyyymmdd".

2004 Apr 14
1
Feature proposal and implementation plan: --delete-delay
...the difficulty is in noticing when the file was "first" deleted and then keeping track of how much time has elapsed. Here is a proposed method of doing this: 1. When a file is first discovered to be obsolete due to the source file having been deleted, rename the local file "originalfilename__RSYNC_YYYYMMDD". 2. Whenever we are asked to delete a file (in delete_one), check the filename. If it is in the form above, check to see if the required amount of time has elapsed (via a --delete-delay=NDAYS argument). Delete as appropriate. If the file isn't in the correct form, the file only be...