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.
9
questions
1
vote
0
answers
18
views
How to select first result with mmv collisions of the 'from'?
I want to rename/move the first file of a batch of sub-directories, the problem is I don't have a rule that can target the first file based on its name (sometimes the first file of a subdir will have ...
1
vote
2
answers
355
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-...
0
votes
1
answer
200
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 ...
0
votes
1
answer
219
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 ...
1
vote
2
answers
1k
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 :
...
1
vote
1
answer
316
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 ...
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 *....
9
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....
4
votes
1
answer
3k
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, ...