note: my current directory is /home/user/Documents when running this
result:
rsync: failed to open files-from file /dev/fd/63: No such file or directory
rsync error: syntax or usage error (code 1) at main.c(1886) [client=3.5.0-g483b5efc]
This has worked up to the last 90 days since my last backup. Likely some update broke it. Basically it is sync all my files in a specific directory (recursive) from the last 90 days to my storage server. If there is some alternate syntax to accomplish what I am trying to do, please post.
Thanks
uname -a
Linux mylaptop 7.2.8-200.fc44.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 25 21:05:44 UTC 2026 x86_64 GNU/Linux
chillzone
(Rick The OldFart And **Private Tester**)
3
Possible Bug in rsync, The error code 1 indicates a syntax or usage error, which in this context is triggered by the inability to open the file descriptor provided by the shell’s process substitution feature.
See if downgrading helps:
When you run that command rsync will automatically identify and update only the changed or new files. The way you have it written it also does not remove any files that were in previous backups but have since been removed.
Try this rsync --progress -av /home/user/Documents/ user@myserver:/volume1/MyBackups/Documents/
I think it should work for you. IF you wish to delete old documents that have already been removed simply add the --delete option into that command.
The command as I show it will check for changes in the local file system then update the matching files in the remote fs as well as copying over any new files. Using find is usually not required (when used with rsync) and adds overhead. Additionally, the syntax of <(find /home/user/Documents -type f -mtime -90) does not provide what you wish for bash. That probably should be written as $(find /home/user/Documents -type f -mtime -90)
Thank you! All this time I have been updating with ‘dnf update’ and expected the latest version. I had to specify ‘dnf update rsync’, unless this version was just rolled out.