Quantcast
Channel: Syncthing Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 6191

Exclude mounted directories (like rsync --one-file-system)

$
0
0

This is somewhat similar to a previous question Sync ubuntu root file system / without additional mounted folders , but my usecase is not as extreme.

Instead, I would like to sync my project folder. But sometimes I work with disk images of embedded systems, and I have a habit of just mounting them right there alongside the images. For example, mkdir tmp; sudo mount -o loop filesystem.bin tmp. Similarly, I sometimes mount sshfs of a remote system.

With rsync, I could use --one-file-system to exclude any mounted directories. Is the same possible somehow with syncthing?

In the meanwhile, just using an exclude pattern and trying to remember to name the mountpoints accordingly works ok.

8 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 6191

Trending Articles