1) Could rsync on OpenMediaVault get support for the option --crtimes?
I sometimes manually change the creation date of files in retrospect (i.e. for scans of analog photos where this means "Photo was taken on this dated", and set the modification date to "when the digital file was created") and then want to sync this metadata change correctly from my Mac to the OpenMediaVault via rsync. On local disks I had used --crtimes for this which worked fine. Manpage:
Zitat-N, --crtimes
This tells rsync to set the create times (newness) of the destination files to the same value as the source files.
rsync on OpenMedia vault is one minor version behind and has a slighty differt capabilities (differences emphasized)
me@odroid:/$ rsync --version
rsyncversion 3.1.2 protocol version 31
Copyright (C) 1996-2015 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, prealloc
me@macos: rsync --version
rsyncversion 3.1.3 protocol version 31
Copyright (C) 1996-2018 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, no prealloc, file-flags
2) rsyncs --xattr seem to not work
The macOS Finder labels (which are inside the extended attributes) DO NOT get transferred to my EXT4 formatted disk and where the rsync share resides despite using the "--xattrs" flag.
If I copy the very same file via Samba, it gets copied the xattr. "ls -l" shows "-rw-r--r--+" for that file as opposed to "-rw-r--r--" if copied via rsync, which is a superficial verification that Samba copies/receives the xattrs but rsync not. I cannot fully debug with "xattr file" as xattr is not available on OMV. What is the correct way to install "xattr"? Did not find it in the web UI at "Plugins" or "Extras" and did not know whether using a CLI package manager like apt is the supported way of adding packages on OMV.