Skip to content

Question about using .nosync files #1880

Answered by abraunegg
achpitt asked this question in Q&A
Discussion options

You must be logged in to vote

@achpitt

I am trying to prevent certain folders from syncing locally by placing a .nosync file in the folder on OneDrive.

Unfortunately the .nosync files are only applicable for local folders - not remote due to how the API operates.

If that is the case, would the best course of action be to create the folder and its parents locally and place a .nosync file in it and then run the sync?

You would only really need to create the parent locally, as any child would be skipped.

The alternate here is to use 'sync_list' to control what to include|exclude from syncing - outside of configuring 'skip_dir'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abraunegg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants