mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
qcp, qmv: small tweaks (#3712)
This commit is contained in:
parent
55edce104a
commit
bb392b5654
2 changed files with 10 additions and 10 deletions
|
@ -1,9 +1,9 @@
|
|||
# qcp
|
||||
|
||||
> Copy files with your favorite text editor.
|
||||
> Copy files using the default text editor to define the filenames.
|
||||
> More information: <https://www.nongnu.org/renameutils/>.
|
||||
|
||||
- Copy a single file (invoke an editor with source on the left, target on the right):
|
||||
- Copy a single file (open an editor with the source filename on the left and the target filename on the right):
|
||||
|
||||
`qcp {{source_file}}`
|
||||
|
||||
|
@ -11,6 +11,6 @@
|
|||
|
||||
`qcp {{*.jpg}}`
|
||||
|
||||
- Copy files, but swap the positions of the source and the target in the editor:
|
||||
- Copy files, but swap the positions of the source and the target filenames in the editor:
|
||||
|
||||
`qcp --option swap {{*.jpg}}`
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# qmv
|
||||
|
||||
> Move files and directories with your favorite text editor.
|
||||
> Move files and directories using the default text editor to define the filenames.
|
||||
> More information: <https://www.nongnu.org/renameutils/>.
|
||||
|
||||
- Move a single file (invoke an editor with source on the left, target on the right):
|
||||
- Move a single file (open an editor with the source filename on the left and the target filename on the right):
|
||||
|
||||
`qmv {{source_file}}`
|
||||
|
||||
|
@ -11,14 +11,14 @@
|
|||
|
||||
`qmv {{*.jpg}}`
|
||||
|
||||
- Move 3 directories:
|
||||
- Move multiple directories:
|
||||
|
||||
`qmv -d {{path/to/dir_1}} {{path/to/dir_2}} {{path/to/dir_3}}`
|
||||
`qmv -d {{path/to/directory1}} {{path/to/directory2}} {{path/to/directory3}}`
|
||||
|
||||
- Move files/directories inside a directory:
|
||||
- Move all files and directories inside a directory:
|
||||
|
||||
`qmv -R {{path/to/directory}}`
|
||||
`qmv --recursive {{path/to/directory}}`
|
||||
|
||||
- Move files, but swap the positions of the source and the target in the editor:
|
||||
- Move files, but swap the positions of the source and the target filenames in the editor:
|
||||
|
||||
`qmv --option swap {{*.jpg}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue