Move files, but swap the positions of the source and the target filenames in the editor

qmv

  • Move files and directories using the default text editor to define the filenames.
    More information: <https://www.nongnu.org/renameutils/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

qmv --option swap {{*.jpg}}

click the source code to copy install qmv on any operating system with command-not-found.com