Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

33
qmv Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`
- Rename all files and folders in the current directory, but show only target filenames in the editor (you can think of it as a kind of simple mode):
`qmv --format=do .`