Comment on mv *.jpg is complete bullshit.

<- View Parent
mindbleach@sh.itjust.works ⁨8⁩ ⁨months⁩ ago

There’s no way around that without reinventing the entire OS.

Disagree. If wildcard expansion is not a feature of the tool, it shouldn’t be up to the tool to shape how each expanded input is passed. Some hideous escape syntax ought to force *.jpg to appear as “-a.jpg” instead of -a.jpg, once it reaches mv.

Instead * is acting as a cheeky little ls alternative, minus any degree of formatting control, and piping actual ls input into mv is similarly fraught with complications.

source
Sort:hotnewtop