Thank you for your help! I actually only needed to prepend /opensuse/ to all the filters because that's what was apparently being sent in the file list paths - I was previously looking at the http folder structure which didn't have that prefix but rsync verbose output did. It appears to be working, I'll only be certain after downloading the entire 120 gb of the OSS folder :-) I prefer to use explicit include lists (filters) instead of exclusions because if in the future a new folder shows up it won't be excluded resulting in unnecessary traffic - I guess. Thanks again, Vishal On Fri, 11 Feb 2022 at 23:59, Per Jessen <per@opensuse.org> wrote:
Vishal Rao wrote:
I'm trying this suggestion but having trouble with figuring out the right way to only grab the tumbleweed/ dir.
The command I'm trying is the following (based on the wiki command example) but getting only 1 matched dir with zero files, any suggestions?
rsync -rlpt rsync.opensuse.org::opensuse-full-with-factory . --delete-after --delete-excluded --max-delete=4000 --timeout=1800 -hnvvv --stats --progress --filter="+ /tumbleweed" --filter="+ /tumbleweed/repo" --filter="+ /tumbleweed/repo/oss" --filter="+ /tumbleweed/repo/oss/**" --filter="- *"
I use "--exclude-from=<somefile>" on my own mirror - when you only want tumbleweed, maybe this will do the trick:
/header.html /footer.html /favicon.ico /distribution /debug /update /repositories /history /ports /source
-- Per Jessen, Zürich (2.8°C)
-- "The World is a book, and those who do not travel read only a page." - St. Augustine.