say I have this folder structure with these files inside:
./
|---- orig/
|--- 1a
|--- 1b
|--- 2a
|--- 2b
|---- 1/ <empty>
|---- 2/ <empty>
I'd like to get this with a single mv command:
./
|---- orig/ <empty>
|---- 1/
|--- 1a
|--- 1b
|---- 2/
|--- 2a
|--- 2b
I was thinking in something like this, but I cannot find anywhere if there are some kind of "variable wildcards" for shells:
$ mv orig/<var>* <var>/
Is this possible in zsh, bash or similar?