IT/Software/Command Line Applications/qmv: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
Walttheboss (talk | contribs) (Created page with "== qmv == * This is a batch rename utility ** qcp is the same except is leaves the old one behind(copy rename paste) * Open the folder to work in. * Open the command line fro...") |
Walttheboss (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== qmv == | ===qmv=== | ||
* This is a batch rename utility | *This is a batch rename utility | ||
** qcp is the same except is leaves the old one behind(copy rename paste) | **qcp is the same except is leaves the old one behind(copy rename paste) | ||
* Open the folder to work in. | *Open the folder to work in. | ||
* Open the command line from there. | *Open the command line from there. | ||
** f4 in Dolphin | **f4 in Dolphin | ||
* Now you are Nano text editor. | <code>qmv -f do</code> | ||
** Replace all that you want. | |||
*Now you are Nano text editor. | |||
* done | **Replace all that you want. | ||
<code>Ctrl+\</code> | |||
Type what to search for. | |||
Type what to replace. | |||
Choose method(all or one at a time) | |||
<code>Ctrl+x</code> | |||
Save and write to suggested file. | |||
Changes will appear. | |||
=== add extension === | |||
I do not completely understand this command. | |||
It will add the .zip to all files in a directory. | |||
<code>for f in *; do mv "$f" "$f.zip"; done</code> | |||
__FORCETOC__ | __FORCETOC__ |
Latest revision as of 05:54, 23 November 2021
qmv
- This is a batch rename utility
- qcp is the same except is leaves the old one behind(copy rename paste)
- Open the folder to work in.
- Open the command line from there.
- f4 in Dolphin
qmv -f do
- Now you are Nano text editor.
- Replace all that you want.
Ctrl+\
Type what to search for.
Type what to replace.
Choose method(all or one at a time)
Ctrl+x
Save and write to suggested file.
Changes will appear.
add extension
I do not completely understand this command. It will add the .zip to all files in a directory.
for f in *; do mv "$f" "$f.zip"; done