User Tools

Site Tools


linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux [2022/09/01 17:41] – copying rjtlinux [2022/12/19 00:27] (current) – workign on renaming section rjt
Line 42: Line 42:
  
 ==== Renaming Multiple Files ==== ==== Renaming Multiple Files ====
-For me, **[[mmv]]** has the easiest syntax to remember. You'll probably have to install it. Otherwise, most [[file_manager|file managers]] should support it if you want a GUI?+For me, **[[mmv]]** has the easiest syntax to remember. You'll probably have to install it. There's a version of [[rename]] that uses [[Perl]] and allows [[regular expression]]s.
  
-''mmv [options] [from[to]'' +Otherwise, [[GPRename]] is a graphical tool for batch renaming, and most [[file_manager|file managers]should have some kind of batch file renaming built-in ([[Thunar]] does, [[pcmanfm]] doesn't).
- +
-You use ''#[number]'' in your ''[to]'' to represent //wildcards// in your ''[from]''. +
- +
-=== Examples === +
- +
-Rename all files ''Treme SxxExx.mp4'' to ''SxxExx.mp4''\\  +
-''mmv "Treme *" "#1"''+
  
 ===== See Also ===== ===== See Also =====
linux.1662018102.txt.gz · Last modified: 2022/09/01 17:41 by rjt