Replies: 1 comment 2 replies
-
@gdg23 To answer most of your questions, please read the documentation:
Do not do this. Please read the documentation on what this option represents.
To do this, you need to run a systemd service so that changes made locally are automatically uploaded. Again, please read the documentation on this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Newly installed, looks great but I haven't tried to sync anything yet. I'm just a little unclear on a few things:
onedrive --dry-run --synchronize --single-directory 'my_work_dir'
and it looks like that was going to do the right thing (only include my work folder and all of its sub-folders).
How would I change the config file to reflect this? I'm assuming that I should change the config file so that future syncs also only include this top-level dir (and sub dirs) (even if the CLI command does what I want for the initial sync)? I see I can set 'sync_dir' in the config file but I'm not sure what that should look like. "~/OneDrive/my_work_dir" maybe? Is the value of sync_dir referring to a dir on my local machine or the OneDrive directory (or both)?
skip_dir = "/my_work_dir/sub_folder/folder_to_exclude" ?
Thanks, and apologies for the slightly confused questions!
Guy
Beta Was this translation helpful? Give feedback.
All reactions