Timeline for Write directory new entries to file periodically, keeping the ones that existed in the past
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 5, 2019 at 22:52 | vote | accept | Stphane | ||
Sep 5, 2019 at 22:52 | |||||
Sep 2, 2019 at 13:55 | comment | added | Stphane | I am only looking for a way to avoid the use of a tempory file involved in the supplied few lines. (That said, improvements of any kind are welcome) | |
Sep 2, 2019 at 13:51 | comment | added | Joop Eggen |
Okay, so I did not need to mention rsync. (-n or.--dryrun has its uses.)
|
|
Sep 2, 2019 at 13:47 | comment | added | Stphane | Code in the question is part of a backup script which actually executes rsync at some point. But prior to any rsync call, some commands have to be run like the one above which append entries from ~/foo/bar to the file not yet inserted. | |
Sep 2, 2019 at 13:13 | history | answered | Joop Eggen | CC BY-SA 4.0 |