On Wed, 31 Jul 2019, David Bridges wrote:

In an earlier reply I mentioned using a file to exclude things that is
referenced on the rsync command line. I know that things can be excluded
as an argument on the command line but I've been tripped up doing it like
that in the past. I would suggest trying the following using your correct
information of course.

David,

I read that. With only a single subdirectory I tried to do it on the command
line. However ...

The following should do what you want as it works prefectly for me with my
specific directories and excludes.

rsync -arvP -e ssh --exclude-from='/home/rshepard/excludes.txt'
/home/rshepard/ rshepard@salmo:/home/rshepard/

Hope this helps

... yes, this does help.

Thanks,

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to