Mailinglist Archive: opensuse (4343 mails)

< Previous Next >
Re: [SLE] quick script
  • From: zentara <zentara@xxxxxxxxxxx>
  • Date: Thu, 21 Nov 2002 07:55:23 -0500
  • Message-id: <20021121075523.51e52a7e.zentara@xxxxxxxxxxx>
On Thu, 21 Nov 2002 02:07:39 +0100
Anders Johansson <andjohNOSPAM@xxxxxxxxxxxxxxxx> wrote:

>On Thursday 21 November 2002 02.02, Anders Johansson wrote:
>> On Thursday 21 November 2002 01.56, Landy Roman wrote:
>> > i have a bunch of files in a directory and i need to add the sql
>> > extention to them any quick way?
>>
>> mmv * #1.sql
>
>for pre-emptive purposes
>
>You'll need to escape the special characters, so the above would be
>
>mmv \* \#1.sql

I can't help but interject the easy method using "mc".
Just highlight all the files, hit F6, enter *.sql
It might be easier to remember than the obscure mmv syntax. :-)




--
use Perl; #powerful programmable prestidigitation

< Previous Next >