Skip to content

filter: exclude=d/ should behave alike what exclude=d/** does #3375

Closed

Description

@pjw91

As discussed in the forum, --exclude d/ and --exclude 'd/**' works differently and this difference causes sync/copy mistakenly delete some files on the remote when --fast-list is ON.

Making --exclude=d/ works alike --exclude=d/** would be OK.

Activity

  1. changed the title [-]exclude=d/ should behave alike what exclude=d/** does[/-] [+]filter: exclude=d/ should behave alike what exclude=d/** does[/+] on Jul 29, 2019
  2. added this to the v1.49 milestone on Jul 29, 2019
  3. modified the milestones: v1.49, v1.50 on Aug 27, 2019
  4. modified the milestones: v1.50, v1.51 on Oct 26, 2019
  5. modified the milestones: v1.51, v1.52 on Feb 1, 2020
  6. modified the milestones: v1.52, v1.53 on May 29, 2020
  7. modified the milestones: v1.53, v1.54 on Sep 5, 2020
  8. added a commit that references this issue on Oct 27, 2020
    51e8108
  9. ncw commented on Oct 27, 2020

    @ncw
    Member

    I've made an implementation of this here

    v1.54.0-beta.4847.51e810828.fix-3375-filter-dir on branch fix-3375-filter-dir (uploaded in 15-30 mins)

  10. modified the milestones: v1.54, v1.55 on Feb 3, 2021
  11. ivandeex commented on Feb 7, 2021

    @ivandeex
    Member

    Closed after 4 months of inactivity
    @ncw appears that branch fix-3375-filter-dir can be purged

  12. added a commit that references this issue on Feb 7, 2021
    8897377
  13. ncw commented on Feb 7, 2021

    @ncw
    Member

    Thanks @ivandeex - I've now merged the above and deleted the branch!

  14. added a commit that references this issue on Jul 20, 2026
    72c470a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions