To move files only; To copy folders only

Tested in Bash and Zsh:

copy nondot files                | cp ~/dir1/*     ~/dir2/
copy dot files                   | cp ~/dir1/.*    ~/dir2/
copy both nondot and dot files   | cp ~/dir1/{.,}* ~/dir2/
move nondot folders              | mv ~/dir1/*/     ~/dir2/
move dot folders                 | mv ~/dir1/.*/    ~/dir2/
move both nondot and dot folders | mv ~/dir1/{.,}*/ ~/dir2/
  • But is it possible, either in Bash or Zsh, without using find or test, and without Zsh globs, to move nondot, dot, and both nondot and dot files?
  • And to copy nondot, dot, and both nondot and dot folders (with their contents)?