User Tools

Site Tools


software:linux:rsync

Rsync Notes

—————————————————————————————————————————————————–

How "--include-from" works

Filter Notes
no match in this senario the file or folder is selected
+ /* allows processing all the files and folders from first level directory
+ /*/* allows processing from the second level directory. the * requires some entry. it does not match a null value.
To get to processing a second level directory then the first level must be designated as a + filter
*** on the end of a filter allows processing of everything else.
- */ stops access to everything

2021-01-22

The easiest way to see what name you should filter is to just look at the output when using –verbose and put a / in front of the name (use the –dry-run option if you're not yet ready to copy any files).

From <https://download.samba.org/pub/rsync/rsync.html>

Manual

software/linux/rsync.txt · Last modified: 2021/01/22 19:49 by superwizard