downloading only specific directories from directory tree
suseuser04 at gmail.hu
Fri Jan 20 23:08:31 UTC 2017
I have read rsync manual and several howtos on how to use rsync, still
I don't know if it's doable what I want to do, and if yes, how.
I would like to make a local copy of openSUSE 13.2 repositories.
I use openSUSE linux.
The repos are located in a multi-level directory structure, eg:
Let's call this directory the root dir.
Each directory in the root has subdirectories, and one of the
is named "openSUSE_13.2". The openSUSE_13.2 dir can be one, two, or
downstairs in the root dir, eg:
There are plenty of directories in the root dir, and each subdirectory
have several subdirectories.
Is it possible, using rsync, to download only all "openSUSE_13.2"
their contents, without specifying directly one by one every
to be included or excluded?
I tried to use filters.txt file with content:
with this command:
rsync -av --include-from=filters.txt
This downloads every directory. How can I exclude those are not
More information about the rsync