[vox-tech] perl rename
Mark's tech help
markindavis at hush.com
Thu Sep 3 17:09:41 PDT 2015
trying here:
root# mmv
bash: mmv: command not found
root#
Reason: I'm running my usual, minimalist distro! (Busybox does too many things on this.) You.. you lucky, decked-out full-installation people, you! But really, mmv looks great-- will have to install it. Thanks for the tip.
- Mark
--
https://twitter.com/linuxusergroup
On 9/3/2015 at 10:36 PM, "Rick Moen" <rick at linuxmafia.com> wrote:
>
>Quoting Mark's tech help (markindavis at hush.com):
>
>> I'm a tad baffled by the usage of perl here. Some part of a
>learning exercise for perl, or could one not just come up with a
>line of bash commands.. a combination of mv and sed with a pipe
>&/or redirect?
>
>I think this is yet another case, among countless others, where
>the very
>first response to querent needed to be some gentle form of 'What
>problem
>are you actually trying to solve?'
>
>P.S.:
>
>$ man 1 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 file-
> names 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. mmv does
>support large
> files (LFS) but it does *NOT* support sparse files (i.e.
>it explodes
> them).
>[...]
>
>_______________________________________________
>vox-tech mailing list
>vox-tech at lists.lugod.org
>http://lists.lugod.org/mailman/listinfo/vox-tech
--
Shell programming is a 1950's jukebox - great if it has your song already. --Larry Wall
More information about the vox-tech
mailing list