Skip to content
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]: nextcloudcmd doesn't exclude directory basing on exclude-list #7682

Open
4 of 8 tasks
recolic opened this issue Dec 18, 2024 · 0 comments
Open
4 of 8 tasks

[Bug]: nextcloudcmd doesn't exclude directory basing on exclude-list #7682

recolic opened this issue Dec 18, 2024 · 0 comments

Comments

@recolic
Copy link

recolic commented Dec 18, 2024

⚠️ Before submitting, please verify the following: ⚠️

Bug description

nextcloudcmd --exclude doesn't exclude directory from sync. It still downloads the entire directory from server.
Ref: https://docs.nextcloud.com/desktop/latest/advancedusage.html#exclude-list

Steps to reproduce

  1. Prepare a directory /InstantUpload on Nextcloud server. Put some files inside.
  2. On desktop, create a txt file /tmp/list
InstantUpload
InstantUpload*
InstantUpload**
InstantUpload/*
InstantUpload/**
InstantUpload/*/*
/InstantUpload
/InstantUpload*
/InstantUpload**
/InstantUpload/*
/InstantUpload/**
/InstantUpload/*/*
*InstantUpload*
  1. Run nextcloudcmd --exclude /tmp/list -u USERNAME -p PASSWORD https://my.nextcloud.site
  2. Bug repro. It downloads the entire excluded directory.

Expected behavior

Nothing in InstantUpload directory should be downloaded or uploaded.

Which files are affected by this bug

nextcloudcmd

Operating system

Linux

Which version of the operating system you are running.

Arch Linux (rolling)

Package

Distro package manager

Nextcloud Server version

28.0.5

Nextcloud Desktop Client version

3.15.0

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant