Sample Header Ad - 728x90

Ubuntu Unison: filter everything except multiple files

0 votes
1 answer
337 views
I want to synchronize two computers that are similar and update just a few files. Therefore I would like to perform a Unison and ignore everything except a list of files in different paths. Something like: # /usr/bin/unison-gtk /home/ ssh://root@192.168.0.199:22//home/ -ignore "Name *" -ignorenot "Name {config/text.cfg, Pictures/test.jpg, Desktop/test.mp3" Or even better starting with root directory: # /usr/bin/unison-gtk / ssh://root@192.168.0.199:22// -ignore "Name *" -ignorenot "Name {/home/config/text.cfg, /home/Pictures/test.jpg, /usr/local/bin/test.sh" The first ignore is exclude everything else so the ignorenot won't catch them. Any Help? Can anyone help? Nothing I have found is helping me.
Asked by Diewo Dasso (3 rep)
Nov 19, 2021, 01:30 PM
Last activity: Nov 19, 2021, 11:32 PM