Comment on mv *.jpg is complete bullshit.

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

I expected people have tried to move files… using the move command.

I did not expect I’d have to specify that there’s a destination, in an explanation of what *.jpg does, not an explanation of what mv does.

For clarity:

GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)

mv *.jpg /mnt/Example/Pictures

Where it will then die with an error like mv: invalid option – ‘1’ depending on the contents of the current directory.

Every search about this has led back to this StackOverflow page sooner or later. All answers address wildcard expansion.

source
Sort:hotnewtop