IT/Software/Command Line Applications/qmv: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
 
(3 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
Line 11: Line 11:
*Now you are Nano text editor.   
*Now you are Nano text editor.   
**Replace all that you want.
**Replace all that you want.
<code>Ctrl+\</code>
<code>Ctrl+\</code>
Type what to search for.
Type what to search for.
Type what to replace.
Type what to replace.
Choose method(all or one at a time)
Choose method(all or one at a time)
<code>Ctrl+x</code>
<code>Ctrl+x</code>
Save and write to suggested file.
Save and write to suggested file.
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.


*Save and Exit
<code>for  f  in *; do mv "$f" "$f.zip"; done</code>
*done!!!
__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