How to sinhroniziruete directories rsync?

0 like 0 dislike
7 views
Good day, please tell me how to sinhroniziruete files into directories
one directory contains folders 1 2 3 4 5 6 and the other directory contains a folder 1 2 3 4 5 6 as using rsync to synchronize files L*.log from folder 1 to folder 1 and so 2 to folder 2, but the only file format L*.log
by | 7 views

2 Answers

0 like 0 dislike
by
0 like 0 dislike
rsync -av --exclude='*.*' --include='L*.log' one directory/ another directory/
by

Related questions

0 like 0 dislike
2 answers
asked Apr 11, 2019 by AlexeyMish
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
32,758 users