1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-28 20:24:55 +02:00

qmv, qcp: add page (#3458)

This commit is contained in:
Nattawut Phetmak 2019-11-05 14:33:21 +07:00 committed by Agniva De Sarker
parent dfed39c22c
commit 64494a2f6a
2 changed files with 40 additions and 0 deletions

16
pages/common/qcp.md Normal file
View file

@ -0,0 +1,16 @@
# qcp
> Copy files with your favorite text editor.
> More information: <https://www.nongnu.org/renameutils/>.
- Copy a single file (invoke an editor with source on the left, target on the right):
`qcp {{source_file}}`
- Copy multiple JPG files:
`qcp {{*.jpg}}`
- Copy files, but swap the positions of the source and the target in the editor:
`qcp --option swap {{*.jpg}}`

24
pages/common/qmv.md Normal file
View file

@ -0,0 +1,24 @@
# qmv
> Move files and directories with your favorite text editor.
> More information: <https://www.nongnu.org/renameutils/>.
- Move a single file (invoke an editor with source on the left, target on the right):
`qmv {{source_file}}`
- Move multiple JPG files:
`qmv {{*.jpg}}`
- Move 3 directories:
`qmv -d {{path/to/dir_1}} {{path/to/dir_2}} {{path/to/dir_3}}`
- Move files/directories inside a directory:
`qmv -R {{path/to/directory}}`
- Move files, but swap the positions of the source and the target in the editor:
`qmv --option swap {{*.jpg}}`