-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The - .** and .* lines are both excluding all .files and .directories
except for the ones you specifically included. For easyness of
reading I would suggest you merge the two files together with
something like:
+ .Skype/***
+ .local/
+ .local/share/
+ .local/share/local-mail/***
+ .mozilla/***
- - .*
- - Desktop/
- - Download/
Though I don't actually suggest excluding .* since there are lots of
important configuration files that you will be excluding that way.
On 10/19/12 08:28, Marc wrote:> hi
>
> i use a script to backup my homedir, that work but there are somes
> things i don't really understand.
>
> here my script
>
> rsync -arv --delete --prune-empty-dirs --include-from=include.txt
> --exclude-from=exclude /home/bob /media/usbkey
>
> include.txt file + .Skype/*** + .local/ + .local/share/ +
> .local/share/local-mail/*** + .mozilla/*** - .**
>
> exclude.txt file Desktop/ Download/ .*
>
> I have a lot of folder in my home: music, video, Document.
>
> I undersdand that it script copy skype, local-mail and mozilla
> content. -.** means exclude other?
>
> and for exlude file: exclude Desktop, Download and .* means all
> other?
>
> also why music, video and document are copied, is there something
> in the script who said to copy it?
>
> thanks
>
- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
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: http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlCBfUEACgkQVKC1jlbQAQczwgCfT9KM9A3s3i5aPMJvP0jiBWlX
NQUAoK9VHJikqljUsaWzVQe9X/ScdenU
=g7rR
-----END PGP SIGNATURE-----