How To Install mmv on CentOS 7
Introduction
In this tutorial we learn how to install mmv on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mmv.
Install mmv on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install mmv using yum by running the following command:
sudo yum -y install mmv
Install mmv on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install mmv using dnf by running the following command:
sudo dnf -y install mmv
How To Uninstall mmv on CentOS 7
To uninstall only the mmv package we can use the following command:
sudo dnf remove mmv
References
Summary
In this tutorial we learn how to install mmv on CentOS 7 using yum and dnf.