mirror of https://github.com/CrimsonTome/tldr.git
25 lines
659 B
Markdown
25 lines
659 B
Markdown
# qmv
|
|
|
|
> Move files and directories using the default text editor to define the filenames.
|
|
> More information: <https://www.nongnu.org/renameutils/>.
|
|
|
|
- Move a single file (open an editor with the source filename on the left and the target filename on the right):
|
|
|
|
`qmv {{source_file}}`
|
|
|
|
- Move multiple JPG files:
|
|
|
|
`qmv {{*.jpg}}`
|
|
|
|
- Move multiple directories:
|
|
|
|
`qmv -d {{path/to/directory1}} {{path/to/directory2}} {{path/to/directory3}}`
|
|
|
|
- Move all files and directories inside a directory:
|
|
|
|
`qmv --recursive {{path/to/directory}}`
|
|
|
|
- Move files, but swap the positions of the source and the target filenames in the editor:
|
|
|
|
`qmv --option swap {{*.jpg}}`
|