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.
No edit summary
 
Line 26: Line 26:


=== add extension ===
=== add extension ===
<nowiki><code>for  f  in *; do mv "$f" "$f.zip"; done</code></nowiki>
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