Open mmanueljoao opened 7 years ago
I'd like to know, too. Does anyone have solution?
not sure how to select folders to download, but you can set an ignore list during setup in onedrive-pref
You can choose what folders to ignore... and if you choose all but the folders you wish to sync, then thats one solution.
For me, I have Documents, Music, Backups, and Pictures in the root of my Onedrive . I only really want Music and Documents to be synced soo... in my /home/{user}/.onedrive/ignore_v2.ini it looks something like this:
Pictures/ Backups/ Some/Other/FolderIWantToIgnore/
onedrive-d will still create Pictures and Backups folders on your local machine but it won't populate the folders. (hopefully you may have already figured this out, but if not, there it is. I used a normal text editor like emacs, vim, or gedit to edit the .ini file)
In addition, I had some files not actually syncing so... I then have been running "onedrive-d start --debug" and monitoring the output. For some odd reason some files just don't want to sync. They usually blast out some slew of python errors and then repeatedly output "DEBUG: MainThread: added task "sy" "/home/{user}/OneDrive"". At that point I stop it, scroll up a bit to see what the last file is and usually append that to ignore_v2.ini . An example: "Documents/Site1/" was full of files that didnt want to sync so I appened "Documents/Site1/{filename}" with whatever filename was not playing nice. This is only a way I found of dealing with the problem not actually fixing it.
Hopefully this helps, onedrive-d is a kinda buggy, and not well documented, but its nice once things are actually working properly.
thank you
Thanks Brendjuan, I'm going to try this out and will post my feedback here...
I do think this is to be done in the last topic of onedrive-pref but can someone explain me how to do it ?