install the 'mmv' port.

From the 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.

On Thu, 12 May 2005, Chris wrote:

I would like some advice on how to script something that will search directories below a named root for all files ending with a certain file extension.

Then, mv or cp them to another location.


-- Best regards, Chris

The first 90 percent of the task takes 90 percent of the
time, the last 10 percent takes the other 90 percent.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to