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) (→qmv) |
Walttheboss (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==qmv== | ===qmv=== | ||
*This is a batch rename utility | *This is a batch rename utility | ||
Line 25: | Line 25: | ||
Changes will appear. | 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