Displaying 1 result from an estimated 1 matches for "ahpvz".
Did you mean:
ahpv
2004 Mar 27
1
--include vs. --exclude
...r, and when one matches the tests end, and whether it is --include
or --exclude determines if that file is included or excluded.
So I have on my server a big file tree. I want to use rsync to download
only the PDF files, which make up a small portion of that tree. So I try
it this way:
rsync -aHPvz --include '*.pdf' --exclude '**' user@host:<source> <destination>
which gives me nothing. For reference, I try:
rsync -aHPvz --include '*.pdf' user@host:<source> <destination>
which starts downloading other files. That confirms that the default...