BSD Ports

misc/mmv 1.01bp1 OpenBSD

move/copy/append/link multiple files with wildcards

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
misc

Description

This is mmv, a program to move/copy/append/link multiple files according to a set of wildcard patterns. The wildcard matches can be reused in forming the target names. You can i.e. move all *.c.or? files to or?.new.*.c by saying

$ mmv "*.c.or?" or=2.new.=1.c

The 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.

In the other systems

SystemPortVersion
OpenBSDmisc/mmv1.01bp1
FreeBSDmisc/mmv2.10_1
NetBSDmisc/mmv1.0b
DragonFlymisc/mmv1.01b.19_2

Install

Binary package:

pkg_add mmv

From the ports tree:

cd /usr/ports/misc/mmv && make install

Dependencies

No port depends on this one.