From 64494a2f6a7665da5cc5cbd89e584a39938dabe6 Mon Sep 17 00:00:00 2001 From: Nattawut Phetmak Date: Tue, 5 Nov 2019 14:33:21 +0700 Subject: [PATCH] qmv, qcp: add page (#3458) --- pages/common/qcp.md | 16 ++++++++++++++++ pages/common/qmv.md | 24 ++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 pages/common/qcp.md create mode 100644 pages/common/qmv.md diff --git a/pages/common/qcp.md b/pages/common/qcp.md new file mode 100644 index 0000000000..6ab0d4c566 --- /dev/null +++ b/pages/common/qcp.md @@ -0,0 +1,16 @@ +# qcp + +> Copy files with your favorite text editor. +> More information: . + +- 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}}` diff --git a/pages/common/qmv.md b/pages/common/qmv.md new file mode 100644 index 0000000000..07272a183a --- /dev/null +++ b/pages/common/qmv.md @@ -0,0 +1,24 @@ +# qmv + +> Move files and directories with your favorite text editor. +> More information: . + +- 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}}`