Skip to content

[Bug]: nextcloudcmd ignoring exlude list and davpath #4621

Description

@wieluk

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

Bug description

When using the nextcloudcmd command like this:

nextcloudcmd --user ... --password ... --davpath /test --unsyncedfolders "/home/pi/nextcloud-sync-cron/remote_sync-exclude.lst" --exclude "/home/pi/nextcloud-sync-cron/sync-exclude.lst" --trust /media/test http://nextcloud-server

It still syncs everything to the main davpath and doesn't respect the local exclude list. The unsyncefolders list is repected.

Steps to reproduce

  1. use nextcloudcmd latest stable debian bullseye version (version 3.1.1-2+deb11u1)
  2. use exclude or davpath option
  3. both not respected
    ...

Expected behavior

Ignore files in excluded list. Use davpath
...

Which files are affected by this bug

all

Operating system

Linux

Which version of the operating system you are running.

debian 11

Package

Distro package manager

Nextcloud Server version

24.0.1

Nextcloud Desktop Client version

3.1.1-2+deb11u1

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

No response

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions