Wijaya Edward wrote:
> Hi John,
>
> From: "John W. Krahn" <[EMAIL PROTECTED]>
>
>>mmv '*.txt.out' '#1.out'
>
> you mean just:
>
> mv '*.txt.out' '#1.out'
>
> right ? and not "mmv"
No, I meant mmv.
$ man mmv
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.
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>