Skip to content

rsync globs behave differently in Nushell than in Bash #4609

@kubouch

Description

@kubouch

Describe the bug

I used rsync -avhz name@server:/home/name/some/path/ destination --include="*/" --include="*.pth" --exclude="*" which did not fetch me only .pth files but all the files.

I need to elaborate on it more when I have the time, just wanted to log this in since there might be some misbehavior.

How to reproduce

  1. todo

Expected behavior

The rsync globs should work the same way in Nushell and in Bash.

Screenshots

No response

Configuration

key value
version 0.59.0
branch main
short_commit 41fa1ab
commit_hash 41fa1ab
commit_date 2022-02-21 15:46:19 +00:00
build_os linux-x86_64
rust_version rustc 1.58.1 (db9d1b20b 2022-01-20)
rust_channel stable-x86_64-unknown-linux-gnu
cargo_version cargo 1.58.0 (f01b232bc 2022-01-19)
pkg_version 0.59.0
build_time 2022-02-21 17:46:48 +02:00
build_rust_channel release
features dataframe, default, trash, which, zip
installed_plugins gstat

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:globBehavior around file-system globbing with regular commands or `glob`. See also A:quoting/expansionA:quoting-expansionIssues related to string quoting, interpolation, and expansion of variable or glob patternscategory:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions