Sometimes I need to move an multiple file or an entire directory tree down one subdirectory level.
mv !(subdir) sudir
uses Bash’s extended pattern matching option – extglob.
To see it extglob is enabled:
shopt extglob
extglob on
To enable extended pattern matching:
shopt -s extglob