On Thu, 3 Jul 2025 at 16:57, Robert Moskowitz via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
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 think it *might* be your pattern matching. From the man rsync(1) page:
--include-from=FILE read include patterns from FILE
--files-from=FILE read list of source-file names from FILE
--files-from=FILE read list of source-file names from FILE
PATTERN MATCHING RULES
Most of the rules mentioned above take an argument that specifies what the rule should match. If rsync is recursing through a di‐
rectory hierarchy, keep in mind that each pattern is matched against the name of every directory in the descent path as rsync
finds the filenames to send.
The matching rules for the pattern argument take several forms:
o If a pattern contains a / (not counting a trailing slash) or a "**" (which can match a slash), then the pattern is matched
against the full pathname, including any leading directories within the transfer.
Most of the rules mentioned above take an argument that specifies what the rule should match. If rsync is recursing through a di‐
rectory hierarchy, keep in mind that each pattern is matched against the name of every directory in the descent path as rsync
finds the filenames to send.
The matching rules for the pattern argument take several forms:
o If a pattern contains a / (not counting a trailing slash) or a "**" (which can match a slash), then the pattern is matched
against the full pathname, including any leading directories within the transfer.
>>>>> If the pattern doesn't contain a (non-trailing) / or a "**", then it is matched only against the final component of the filename or pathname. <<<<<
/home/me/data/htt/httnet/
/home/me/data/excel/
/home/me/data/word/
/home/me/data/excel/
/home/me/data/word/
-- _______________________________________________ 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