- Add
INITIAL_FIND_PARAMS
option to parameterize the initial find before starting the watcher
- Do not process files while they are written to
(listen to inotifywait
close_write
event instead ofcreate
)
- Added
APPEND_SHA1_SUM
option to append sha1 sum to filename - Added
DELETE_SOURCE_FILE
option to remove files after they have been copied (Note that this requires write permissions on the source volume)
- Copy to
*.part
files and rename file when complete. This allows watchers to be sure a file is complete when thecreate
event is fired.
- Update alpine 3.16.4 to 3.18.0
- Do not preserve modified timestamp on copy as on most unix filesystems the creation time of a file is not accessible so the mtime is the ts our file got processed by copy-on-write
- Do not re-process (update) existing files on restart
- Only treat files, create intermediate folders if necessary
- remove unnecessary call to
bash
infind --exec
Set created/accessed timestamp to now on copy, preserve modified timestamp.