[Top][All Lists]
[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."
- Re: [Pan-users] 0.11.3 question, (continued)
- Re: [Pan-users] 0.11.3 question, Wolf J. Flywheel, 2003/05/23
- Re: [Pan-users] 0.11.3 question, Eric Ortega, 2003/05/27
- Re: [Pan-users] 0.11.3 question, Vadim Berezniker, 2003/05/27
- Re: [Pan-users] 0.11.3 question, John Aldrich, 2003/05/27
- Re: [Pan-users] 0.11.3 question, Eric Ortega, 2003/05/27
- [OT] On renaming files - was [Pan-users] 0.11.3 question, Wolf J. Flywheel, 2003/05/27
- Re: [OT] On renaming files - was [Pan-users] 0.11.3 question, Duncan, 2003/05/28
- Re: [OT] On renaming files - was [Pan-users] 0.11.3 question, Wolf J. Flywheel, 2003/05/28
- Re: [Pan-users] 0.11.3 question, Eric Ortega, 2003/05/27
- Re: [Pan-users] 0.11.3 question, gaw zay, 2003/05/27
- Re: [Pan-users] 0.11.3 question,
Anthony <=
- Re: [Pan-users] 0.11.3 question, Eric Ortega, 2003/05/27
- Re: [Pan-users] 0.11.3 question, Eric Ortega, 2003/05/27