4 ms·
I have one similar to your "newsh" called "new" which does `mkdir "$1" && cd "$1"` I also have another one called "store" which does `mkdir "${@: -1}" && mv $@
by miccah 7y ago
I have one similar to your "newsh" called "new" which does `mkdir "$1" && cd "$1"`
I also have another one called "store" which does `mkdir "${@: -1}" && mv $@`. I basically wanted an easy way to move everything into a new directory ("store * backup").