-
Hi Community, I can't find the proper syntax to sync only one file from a globally excluded folder. Let's say:
How/where should I put this in the sync_list file? Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
@jlgarnier The first point is that when using 'sync_list' everything is excluded by default My second point here is - if your use case there is to truly store your banking account credentials, in a text file, on Microsoft OneDrive ... please 100% rethink your strategy here ... doing that, in that manner is 100% the wrong way to go about this. I would store the credentials locally in something like KeePass (https://keepass.info/) then potentially have the KeePass data uploaded to Microsoft OneDrive. This being said - Microsoft OneDrive is not meant for use as a backup of your data - there are plenty of viable alternatives to this ranging from:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick answer! However, I still don't understand if I should exclude the whole Parent folder first:
Note: don't worry about the credentials, it's just an example! I'm working in cybersecurity... 😉 |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm coming back on this issue, as I still couldn't find a way to include only 1 file from a globally excluded folder. I've read the updated documentation again and could not where my sync_files may be wrong. Here it is:
Where's the trick? Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
-
@jlgarnier Applicable Configuration
Application Output
Online Folder Structure |
Beta Was this translation helpful? Give feedback.
@jlgarnier
Please read the updated RC2 documentation on using 'sync_list' - https://github.com/abraunegg/onedrive/blob/onedrive-v2.5.0-release-candidate-2/docs/usage.md#performing-a-selective-synchronisation-via-sync_list-file
The first point is that when using 'sync_list' everything is excluded by default
My second point here is - if your use case there is to truly store your banking account credentials, in a text file, on Microsoft OneDrive ... please 100% rethink your strategy here ... doing that, in that manner is 100% the wrong way to go about this.
I would store the credentials locally in something like KeePass (https://keepass.info/) then potentially have the KeePass data uploaded …