How To Install mmv on Fedora 34

mmv is Move/copy/append/link multiple files

Introduction

In this tutorial we learn how to install mmv on Fedora 34.

What is mmv

This is mmv, a program to move/copy/append/link multiple files according to a set of wildcard patterns. This multiple action is performed safely, i.e. without any unexpected deletion of files due to collisions of target names with existing filenames or with other target names. Furthermore, before doing anything, mmv attempts to detect any errors that would result from the entire set of actions specified and gives the user the choice of either aborting before beginning, or proceeding by avoiding the offending parts.

We can use yum or dnf to install mmv on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mmv.

Install mmv on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mmv using dnf by running the following command:

sudo dnf -y install mmv

Install mmv on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mmv using yum by running the following command:

sudo yum -y install mmv

How To Uninstall mmv on Fedora 34

To uninstall only the mmv package we can use the following command:

sudo dnf remove mmv

mmv Package Contents on Fedora 34

/usr/bin/mad
/usr/bin/mcp
/usr/bin/mln
/usr/bin/mmv
/usr/lib/.build-id
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/7c944037a6abfa8f0c2f288050417cdbb2bd42
/usr/share/doc/mmv
/usr/share/doc/mmv/ANNOUNCE
/usr/share/doc/mmv/ARTICLE
/usr/share/doc/mmv/READ.ME
/usr/share/doc/mmv/changelog
/usr/share/doc/mmv/copyright
/usr/share/man/man1/mad.1.gz
/usr/share/man/man1/mcp.1.gz
/usr/share/man/man1/mln.1.gz
/usr/share/man/man1/mmv.1.gz

References

Summary

In this tutorial we learn how to install mmv on Fedora 34 using yum and dnf.