Exclusions can also be added to a file one per line,  When using a file
listing excluded files/directories you would add something like the
following to your command line.

--exclude-from='/some/directory/excludes.txt'

--
David

On Wed, 2019-07-17 at 23:20 -0400, [email protected] wrote:
>  ... adding to this ...
> you can use --exclude dirOrFileName multiple times - it will form a
> list
> 
> in this particular case: --exclude data would work too, but it would
> exclude all
> other directories and files called data inside your recursive
> directory. This
> can be handy, or not, depending on the situation.
> 
> -T
> 
> On Wed, 2019-07-17 at 16:08 -0700, Rich Shepard wrote:
> > On Wed, 17 Jul 2019, Ben Koenig wrote:
> > 
> > > --exclude ~/data/
> > 
> > Thanks, Ben. I missed that option when I read the rsync man page.
> > 
> > Regards,
> > 
> > Rich
> > _______________________________________________
> > PLUG mailing list
> > [email protected]
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug

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

Reply via email to