.SyncIgnore


19feet

Recommended Posts

1. Does a .SyncIgnore file in a sync folder works with all sub folders?

2. Is it possible to use a .SyncIgnore file in a folder and another .SyncIgnore file in a sub folder with further rules?

3. Is it possible to use a .SyncIgnore file in a sub folder with * so that no files are synced from this subfolder?

Link to comment
Share on other sites

1. Does a .SyncIgnore file in a sync folder works with all sub folders?

2. Is it possible to use a .SyncIgnore file in a folder and another .SyncIgnore file in a sub folder with further rules?

3. Is it possible to use a .SyncIgnore file in a sub folder with * so that no files are synced from this subfolder?

1. Yes

2. No

1. No, you need to add these rules to the .SyncIgnore of the parent folder you're syncing in order to exclude a sub-folder from the sync

Link to comment
Share on other sites

Just a side note: That way you'll end up with an empty 'subfoldername' directory.

If you want to exclude it entirely leave the /* suffix.

Indeed. The only cravat with omitting the /* is that if you happen to also have a file in the parent directory with the same name as the sub folder you wish to exclude, BOTH would be excluded from Sync

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.