-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --exclude not -exclude
- -exclude == -e -x -c -l -u -d -e which all happen to be valid.
On 08/22/2014 03:37 PM, Geoffrey Leach wrote:> I've tried all of the permutations of exclude I can think of, so
> presumably I have some fundamental misunderstanding. The goal here
> is to exclude the file tv11.html in the ftp directory.
>
>
> rsync -avvvv -n --verbose --one-file-system -exclude='ftp/tv1.html'
> /usr/local/src /Media/sata/usr/local > /tmp/rsync (Server) Protocol
> versions: remote=30, negotiated=30
>
> cmd=xclude=ftp/tv1.html machine=<NULL> user=<NULL>
> path=/Media/sata/usr/local [sender]
> make_file(src/ftp/tv1.html,*,2) [sender] i=1046 /usr/local
> src/ftp/tv1.html mode=0100644 len=130204 uid=1000 gid=1000 flags=0
> [generator] i=1046 3 src/ftp/tv1.html mode=0100644 len=130204
> uid=1000 gid=1000 flags=0 recv_generator(src/ftp/tv1.html,1046)
> send_files(1046, /usr/local/src/ftp/tv1.html) src/ftp/tv1.html
> recv_files(src/ftp/tv1.html)
>
> file /usr/local/src/ftp/tv1.html /usr/local/src/ftp/tv1.html: HTML
> document, UTF-8 Unicode text, with very long lines
>
> One additional piece of data. If I attempt to exclude "*swp"after
> the ftp exclude, that fails as well. Before the exclude of ftp, it
> works as intended.
>
> BTW, this is the smallest command that reproduces the problem. What
> I _really_ want to do is to exclude ftp/tv*
>
- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: sanitarium.net
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlP3nlcACgkQVKC1jlbQAQeFWgCg+ylbH9v80dgwVh5Z2k+YfyIu
1uEAoJWLanMtYNw+VYCTDvjOibSUFE3u
=G8mz
-----END PGP SIGNATURE-----