I have a number of directories that I want to rsync to my backup NAS.
I tried:
/usr/bin/rsync -ahR --password-file=/home/me/rsync.pswd --stats
--include-from=/home/me/backup.lst rsync://me@homestor/me/backups/
where /home/me/backup.lst contained
/home/me/data/htt/./httnet/
/home/me/data/./excel
/home/me/data/./word
rsync seemed to ignore the --include-from=FILE option and treated the
command to print the content of rsync://me@homestor/me/backups/
I ended up using:
/usr/bin/rsync -ahR --password-file=/home/me/rsync.pswd --stats
/home/me/data/htt/./httnet/ /home/me/data/./excel /home/me/data/./word
rsync://me@homestor/me/backups/
But I have 2 more directories to add, and the list is getting long...
So how does one use --include-from=FILE? My searching is not getting
any good guidance.
thanks
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue