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}}`