pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] 0.11.3 question


From: Anthony
Subject: Re: [Pan-users] 0.11.3 question
Date: Tue, 27 May 2003 14:05:02 -0700

If I use that solution, the next step for me (using SuSE 8.0) is:

mmv "*" "BobsCat#1"

or, slightly more complex:

mmv "*.jpg" "BobsCat#1.jpg"
(in case there are non-jpg files in the directory).

I'd just been hoping I could use some sort of wildcard *within* Pan to do
this.

Anthony

gaw zay <address@hidden> wrote:

> On Tue, 27 May 2003, Eric Ortega wrote:
> 
> > On Fri, May 23, 2003 at 08:23:49PM -0400, Wolf J. Flywheel wrote:
> >
> > >   As far as I know, there's no way built into Pan, but if you're
> > >   using Bash
> > > as your command shell, you can save them all in the same place and
> > > do something like this:
> > >
> > > for f in *.jpg ; do mv "${f}" "BobsCat${f}" ; done
> >
> > Those quotes and squiggly-brackets are unnecessary AFAIK.
> >
> >   for i in `ls *.jpg` ; do mv $i BobsCat$i; done
> >
> > is fine.
> 
> ok while being pedantic:
> 
> you also don't need to use backticks and ls.
> 
>  *.jpg is enough.
> 
> backticks are also depreciated, use $() now.
> 
> 
> brian
> --
> Never be afraid to tell the world who you are.
>              -- Anonymous
>  16:00:01 up 19 days, 23:44,  4 users,  load average: 1.00, 1.00, 1.00
> 
> 
> _______________________________________________
> Pan-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/pan-users
> 


-- 
"SCSI is *not* magic. There are *fundamental* *technical* *reasons* why
you have to sacrifice a young goat to your SCSI chain every now and then."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]