mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 15:02:40 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/qmv
10
tldr/qmv
@@ -6,7 +6,7 @@ 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/>.
|
||||
> More information: <https://manned.org/man/qmv>.
|
||||
|
||||
- Move a single file (open an editor with the source filename on the left and the target filename on the right):
|
||||
|
||||
@@ -18,16 +18,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Move multiple directories:
|
||||
|
||||
`qmv -d {{path/to/directory1}} {{path/to/directory2}} {{path/to/directory3}}`
|
||||
`qmv {{[-d|--directory]}} {{path/to/directory1}} {{path/to/directory2}} {{path/to/directory3}}`
|
||||
|
||||
- Move all files and directories inside a directory:
|
||||
|
||||
`qmv --recursive {{path/to/directory}}`
|
||||
`qmv {{[-R|--recursive]}} {{path/to/directory}}`
|
||||
|
||||
- Move files, but swap the positions of the source and the target filenames in the editor:
|
||||
|
||||
`qmv --option swap {{*.jpg}}`
|
||||
`qmv {{[-o|--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 .`
|
||||
`qmv {{[-f|--format]}} do .`
|
||||
|
||||
Reference in New Issue
Block a user