Skip to main content
17 events
when toggle format what by license comment
Feb 27, 2021 at 9:11 vote accept mike rodent
Feb 26, 2021 at 11:28 answer added Chris Davies timeline score: 0
Feb 26, 2021 at 10:08 history edited mike rodent CC BY-SA 4.0
added 1278 characters in body
Feb 26, 2021 at 10:03 history edited mike rodent CC BY-SA 4.0
added 1278 characters in body
Feb 26, 2021 at 9:56 comment added mike rodent OK, the answer to that is long enough that I have to give it in an edit!
Feb 26, 2021 at 9:48 comment added Chris Davies So what you're asking is how to use a comparison between source and link-dest to determine whether or not to run a copy from source to destination. I don't see that this gains you anything. If you've got rsync set up right then a copy from source to destination with no processing should take just moments to scan the list of files' metadata (name, size, mtime). That's going to be about the same effort as comparing source and link-dest. rsync won't copy files unnecessarily. Either (a) what am I missing, or (b) what are you saving?
Feb 26, 2021 at 8:50 comment added mike rodent OK thanks, I understand it now. All 11 dots apply to a single file/directory. Still no indicator of a file missing in the source but present in the link-dest location. That's my experience anyway.
Feb 26, 2021 at 8:36 comment added Kusalananda The d and the t means ./ is a directory and that its timestamp is different. The f, s and t means the ODT file is a file, has a size difference and a timestamp difference. This is described in the rsync manual (see tho -i or --itemize-changes option in there).
Feb 26, 2021 at 8:03 comment added mike rodent @Kusalananda Thanks, but I don't understand it. Can you explain what these dots and "f", "d", "t" and "s" mean? Preferably with a link to some documentation somewhere. Ideally I would like the names of the files absent in the link-dest location to be displayed.
Feb 26, 2021 at 7:36 comment added Kusalananda What's mysterious about the -i output? It's, if anything, easier to parse in a script than the -v output.
Feb 26, 2021 at 7:19 history edited mike rodent CC BY-SA 4.0
added 434 characters in body
Feb 25, 2021 at 21:18 answer added mike rodent timeline score: 0
Feb 25, 2021 at 13:38 comment added Chris Davies I'm not great with python. What's the actual rsync command you're running? What do you want it to do, and what does it seem to be doing? Can you provide some example files (or directory structure) and explain what you want to happen with it?
Feb 25, 2021 at 13:00 history edited mike rodent CC BY-SA 4.0
added 39 characters in body
Feb 25, 2021 at 12:49 history edited mike rodent CC BY-SA 4.0
added 18 characters in body
Feb 25, 2021 at 12:37 history edited mike rodent CC BY-SA 4.0
added 401 characters in body
Feb 25, 2021 at 12:24 history asked mike rodent CC BY-SA 4.0