Re:Today is the fifth anniversary of Aaron Swartz's death
by DC-3 on Thursday January 11, 2018 @07:36AM
(#16123281)
Wonder what his solution was. I'd be tempted to rebuild rsync with some download completion checks patched in.
[ Parent
| on HN ]
Re:Today is the fifth anniversary of Aaron Swartz's death
by lixtra on Thursday January 11, 2018 @08:21AM
(#16123572)
Say your downloader times out after 3 min.
1. Use find to compile a list of files that have not changed: find /path/to -type f -mmin +3 > mylist.txt
2. Tell rsync only to sync files on the list: rsync -a --files-from=mylist.txt /path/to remote:/backup
3. Homework: make sure it does not barf on strange filename.