On gio, 13 gen 2000, John Aldrich wrote:
>On Thu, 13 Jan 2000, you wrote:
>> I've just discovere mmv (GREAT) and noted that it is not present in the RPM
>> binary tree. Is it possible for Mandrake to add it please? It's very little and
>> useful too!
>> 
>What is this? I've never heard of mmv... just curious. :-)
>       John

in dos you can do:

 ren file*.txt file*.asc

in unix this is not as simple, until now!
mmv is for this, infact now you can do it with

 mmv "file*.txt" "file#1.asc"

it works even with multiple wildcards like

 mmv "file*.*" "file#1.#2"

black magic! :-) 

man mmv

MMV(1)                                                     MMV(1)

NAME
mmv  -  move/copy/append/link  multiple  files by wildcard
patterns

SYNOPSIS
mmv [-m|x|r|c|o|a|l|s] [-h] [-d|p] [-g|t] [-v|n] [from to]

DESCRIPTION
Mmv  moves  (or  copies,  appends, or links, as specified)
each source file matching a from  pattern  to  the  target
name specified by the to pattern.  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 proceeding by avoiding
the offending parts or aborting.

[..]

AUTHOR
Vladimir Lanin
[EMAIL PROTECTED]  

bye


-- 
Marco Ciampa

Reply via email to