Include and exclude with rsync -avv –include-from.
So here is a ultra short howto. First have to be the pluses (include) of the map end then the minuses (exclude).
rsync -avv –include-from=’rsync_home_apr25′ /home/bob/ /media/backup/experiment/
rsync_home_apr25
+ include_file1
+ include_file2
+ include_map/
+ .config/foot
+ .config/mpv
- .config/*
+ map/
+ map/under_map1
+ map/under_map2
- map/*
- /*
Leave a Reply