Debian Codegraph @

config

raw
1 # Configuration for OneDrive Linux Client
2 # This file contains the list of supported configuration fields with their default values.
3 # All values need to be enclosed in quotes
4 # When changing a config option below, remove the '#' from the start of the config line
5 # For a more detailed explanation of all config options below see docs/application-config-options.md or the man page.
6
7 ## This is the config option for application id that used to identify itself to Microsoft OneDrive.
8 #application_id = "d50ca740-c83f-4d1b-b616-12c519384f0c"
9
10 ## This is the config option to change the Microsoft Azure Authentication Endpoint that the client uses to conform with data and security requirements that requires data to reside within the geographic borders of that country.
11 #azure_ad_endpoint = ""
12
13 ## This config option allows the locking of the client to a specific single tenant and will configure your client to use the specified tenant id in its Azure AD and Graph endpoint URIs, instead of "common".
14 #azure_tenant_id = ""
15
16 ## This config option allows the disabling of preserving local data by renaming the local file in the event of data conflict. If this is enabled, you will experience data loss on your local data as the local file will be over-written with data from OneDrive online. Use with care and caution.
17 #bypass_data_preservation = "false"
18
19 ## This config option is useful to prevent application startup & ongoing use in 'Monitor Mode' if the configured 'sync_dir' is a separate disk that is being mounted by your system.
20 #check_nomount = "false"
21
22 ## This config option is useful to prevent the sync of a *local* directory to Microsoft OneDrive. It will *not* check for this file online to prevent the download of directories to your local system.
23 #check_nosync = "false"
24
25 ## This config option defines the number of children in a path that is locally removed which will be classified as a 'big data delete' to safeguard large data removals - which are typically accidental local delete events.
26 #classify_as_big_delete = "1000"
27
28 ## This config option provides the capability to cleanup local files and folders if they are removed online.
29 #cleanup_local_files = "false"
30
31 ## This configuration setting manages the TCP connection timeout duration in seconds for HTTPS connections to Microsoft OneDrive when using the curl library.
32 #connect_timeout = "10"
33
34 ## This setting controls how the application handles the Microsoft SharePoint feature which modifies all PDF, MS Office & HTML files post upload, effectively breaking the integrity of your data online.
35 #create_new_file_version = "false"
36
37 ## This setting controls the timeout duration, in seconds, for when data is not received on an active connection to Microsoft OneDrive over HTTPS.
38 #data_timeout = "60"
39
40 ## This setting controls whether the curl library is configured to output additional data to assist with diagnosing HTTPS issues and problems.
41 #debug_https = "false"
42
43 ## This setting controls whether 'inotify' events should be delayed or not.
44 #delay_inotify_processing = "false"
45
46 ## This option determines whether the client will conduct integrity validation on files downloaded from Microsoft OneDrive.
47 #disable_download_validation = "false"
48
49 ## This setting controls whether GUI notifications are sent from the client to your display manager session.
50 #disable_notifications = "false"
51
52 ## This setting controls whether the application will set the permissions on files and directories using the values of 'sync_dir_permissions' and 'sync_file_permissions'.
53 #disable_permission_set = "false"
54
55 ## This option determines whether the client will conduct integrity validation on files uploaded to Microsoft OneDrive.
56 #disable_upload_validation = "false"
57
58 ## This option will include the running config of the application at application startup.
59 #display_running_config = "false"
60
61 ## This option will display file transfer metrics when enabled.
62 #display_transfer_metrics = "false"
63
64 ## This setting controls the libcurl DNS cache value.
65 #dns_timeout = "60"
66
67 ## This setting forces the client to only download data from Microsoft OneDrive and replicate that data locally.
68 #download_only = "false"
69
70 ## This setting controls the specific drive identifier the client will use when syncing with Microsoft OneDrive.
71 #drive_id = ""
72
73 ## This setting controls the application capability to test your application configuration without actually performing any real activity.
74 #dry_run = "false"
75
76 ## This setting controls the application logging all actions to a separate file.
77 #enable_logging = "false"
78
79 ## This setting controls the file fragment size when uploading large files to Microsoft OneDrive.
80 #file_fragment_size = "10"
81
82 ## This setting controls the application HTTP protocol version, downgrading to HTTP/1.1 when enabled.
83 #force_http_11 = "false"
84
85 ## This option, when enabled, forces the client to use a 'session' upload, which, when the 'file' is uploaded by the session, this includes the local timestamp of the file
86 #force_session_upload = "false"
87
88 ## This setting controls the application IP protocol used when communicating with Microsoft OneDrive.
89 #ip_protocol_version = "0"
90
91 ## This setting controls what the application considers the 'source of truth' for your data.
92 #local_first = "false"
93
94 ## This setting controls the custom application log path when 'enable_logging' has been enabled.
95 #log_dir = ""
96
97 ## This configuration option controls the number of seconds a cURL engine is considered stale and destroyed after last use.
98 #max_curl_idle = "120"
99
100 ## This configuration option controls how often a full scan of your data is performed in monitor mode.
101 #monitor_fullscan_frequency = "12"
102
103 ## This setting determines how often the sync loop runs in --monitor mode.
104 #monitor_interval = "300"
105
106 ## This configuration option controls suppression of frequent monitor log messages.
107 #monitor_log_frequency = "12"
108
109 ## This configuration option controls whether local deletes are replicated to OneDrive when using --upload-only.
110 #no_remote_delete = "false"
111
112 ## This setting controls whether the client logs GUI notifications when file actions occur.
113 #notify_file_actions = "false"
114
115 ## This configuration controls the maximum amount of time a file operation is allowed to take.
116 #operation_timeout = "3600"
117
118 ## Permanently delete online items when removed locally. Bypasses OneDrive recycle bin.
119 #permanent_delete = "false"
120
121 ## This setting limits the per-thread bandwidth used by the client.
122 #rate_limit = "0"
123
124 ## This configuration option controls whether the client operates in read-only mode.
125 #read_only_auth_scope = "false"
126
127 ## This configuration option allows you to specify the 'Recycle Bin' path for the application. This is only used if 'use_recycle_bin' is enabled.
128 #recycle_bin_path = "/path/to/desired/location/"
129
130 ## This option removes the local file after a successful upload to OneDrive.
131 #remove_source_files = "false"
132
133 ## This configuration controls whether a full resync is performed at application startup.
134 #resync = "false"
135
136 ## This option approves use of --resync, useful in automated environments.
137 #resync_auth = "false"
138
139 ## This option controls which directories are excluded from sync.
140 #skip_dir = ""
141
142 ## When enabled, skip_dir matches must be strict, full path matches only.
143 #skip_dir_strict_match = "false"
144
145 ## When enabled, skip dotfiles and dot folders from sync.
146 #skip_dotfiles = "false"
147
148 ## This setting controls which files are skipped during sync.
149 #skip_file = "~*|.~*|*.tmp|*.swp|*.partial"
150
151 ## Skip syncing files larger than this size in MB.
152 #skip_size = "0"
153
154 ## Skip symbolic links during sync.
155 #skip_symlinks = "false"
156
157 ## Reserve this much free disk space (in MB) to avoid disk full issues.
158 #space_reservation = "50"
159
160 ## Sync OneDrive Business shared folders that are shortcuts in 'My Files'. These will be stored in a local folder called 'Files Shared With Me'.
161 #sync_business_shared_items = "false"
162
163 ## Local directory to sync with OneDrive.
164 #sync_dir = "~/OneDrive"
165
166 ## Permissions to apply to created local directories.
167 #sync_dir_permissions = "700"
168
169 ## Permissions to apply to created local files.
170 #sync_file_permissions = "600"
171
172 ## Sync all root files in sync_dir when using sync_list.
173 #sync_root_files = "false"
174
175 ## Number of threads to use for upload/download.
176 #threads = "8"
177
178 ## File transfer ordering between client and OneDrive.
179 #transfer_order = "default"
180
181 ## Only upload changes to OneDrive, do not download from cloud.
182 #upload_only = "false"
183
184 ## Authenticate using the Microsoft OAuth2 Device Authorisation Flow
185 #use_device_auth = "true"
186
187 ## Single Sign-On (SSO) via Intune using the Microsoft Identity Device Broker
188 #use_intune_sso = "true"
189
190 ## This configuration option controls the application function to move online deleted files to a 'Recycle Bin' on your system.
191 #use_recycle_bin = "false"
192
193 ## Custom User-Agent string for requests to OneDrive. If you change this, you will get throttled by the Microsoft Graph API. Change with caution.
194 #user_agent = "ISV|abraunegg|OneDrive Client for Linux/vX.Y.Z-A-bcdefghi"
195
196 ## Enable webhook-based remote update notifications in monitor mode.
197 #webhook_enabled = "false"
198
199 ## Time in seconds before webhook subscription expires.
200 #webhook_expiration_interval = "600"
201
202 ## IP address to listen on for incoming webhook updates.
203 #webhook_listening_host = "0.0.0.0"
204
205 ## TCP port to listen on for incoming webhook updates.
206 #webhook_listening_port = "8888"
207
208 ## Public webhook URL for Microsoft to send notifications to.
209 #webhook_public_url = ""
210
211 ## Frequency (in seconds) to renew webhook subscription.
212 #webhook_renewal_interval = "300"
213
214 ## Frequency (in seconds) to retry a failed webhook subscription renewal.
215 #webhook_retry_interval = "60"
216
217 ## Write xattr metadata fields (createdBy, lastModifiedBy) to synced files.
218 #write_xattr_data = "false"