-
-
Notifications
You must be signed in to change notification settings - Fork 870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Excluding folders contents fails #3012
Comments
Feedback for you - your 'application' output shows you are using 1 curl version, however your bug report is showing a different curl version. Please ensure you update your curl version in the correct manner for your system. |
Now onedrive is using latest curl, also rebuilt from source today:
Trying to sync but still includes excluded folders:
|
@ArtificialTruth |
Please can you test the PR below. First install all the require platform dependencies to build the client on your respective platforms. Please read https://github.com/abraunegg/onedrive/blob/master/docs/install.md#building-from-source---high-level-requirements and then follow correctly for your platform. Once this is done, to clone the PR to resolve your issue, you can use a script like the following:
This script will create a local folder called To run the PR, you need to run the client from the PR build directory:
To install the PR, you will need to perform When running the PR, your version should be: Application Configuration
Local Testing
|
@ArtificialTruth |
Hi,
It's in progress, I'll come with an update soon. Thanks again for taking a look.
|
It works! (excluding using sync_list) |
Thanks for the confirmation |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug
Trying to exclude .venv (and other) folders anywhere in onedrive fails
See for instance this last line, ".venv/lib" should have been excluded (verbose output)
Operating System Details
Linux ts-IDEAPAD-5-Pro-16HU6 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:24:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.5 LTS Release: 22.04 Codename: jammy
Client Installation Method
From Source
OneDrive Account Type
Personal
What is your OneDrive Application Version
onedrive v2.5.3-12-g228e7db
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
Onedrive is used on a single user on a single ubuntu machine, no other OS or users access the folder.
Steps to reproduce the behaviour
Add !.venv/* or !.venv/ to sync_list
or add skip_dir = ".venv" in config
Add some/root/folder in top level onedrive to sync_list that contains lots of subfolders with .venv (git repos)
Do onedrive --monitor --verbose --resync and see that .venv folders "itself" is excluded but its contents are not.
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: