Questions tagged [mmv]

mmv (multiple move) is a long-time 3rd party Unix command which allows to move/copy/append/link multiple files according to a set of wildcard patterns.

Filter by
Sorted by
Tagged with
1 vote
2 answers
36 views

Rename files with numbers already in file name

I have files with following names starting with water-frames0.gro upto water-frames201.gro water-frames0.gro water-frames119.gro water-frames138.gro water-frames157.gro water-frames116.gro water-...
user avatar
  • 113
0 votes
1 answer
40 views

Why are neither rename nor mmv working on my Fedora 35 system?

On my Fedora 35 system neither of the following are working. I have about twenty or so jpg files in a directory, and I wish to add the name of a website to each image after its main title. I am ...
user avatar
  • 109
0 votes
1 answer
73 views

How to replace a hash pattern inside file and directory names

I've just backed up the notes I have in Notion, and they use hashcodes in the notes names to make them unique apparently. For example, this is might be a note-folder with some notes: Archive ...
user avatar
0 votes
1 answer
456 views

Using mmv, how do you replace every x with y?

So my filename looks like this : Building+a+Container+for+Robust+Conversations.pdf I would like to use mmv to rename it like this : Building_a_Container_for_Robust_Conversations.pdf Or like this : ...
user avatar
  • 874
1 vote
1 answer
140 views

How to properly use mmv and avoid "no match"

My folders look like this: $ ls total 20K drwxr-xr-x 2 ychaouche ychaouche 4.0K Mar 4 2020 cdc-firewall-v1 drwxr-xr-x 2 ychaouche ychaouche 4.0K Mar 4 2020 cdc-firewall-v2 drwxr-xr-x 2 ychaouche ...
user avatar
  • 874
0 votes
1 answer
1k views

can mmv rename files by incrementing an index?

Can mmv, a mass move utility, nicely rename files from: foo.txt bar.txt baz.txt to: 1.txt 2.txt 3.txt The man page is intriguing, but I don't quite follow the directions: Rename all *....
user avatar
  • 1,710
7 votes
3 answers
3k views

MMV mass file rename

I'm having trouble figuring an mmv pattern. I have a bunch of video files with this pattern: my.program.name.season.NN.episode.NN.-.title.avi and I need to move them to: my.program.name.sNNeNN....
user avatar
  • 73
4 votes
1 answer
2k views

Why is my mmv command not overwriting the files?

I have a batch file that, among other things, uses the command mmv to rename some files. The relevant line is like this: mmv "$BASEDIR/files/*.txt" "$BASEDIR/files/#1.strings" In essence it works, ...
user avatar
  • 1,130