shellscript

From: roN (NOspam_at_example.com)
Date: 09/27/05


Date: Tue, 27 Sep 2005 04:45:30 +0200

Hi,

I got a Directory full of Pictures named like this:
Pic1-01-02-05.jpg
Pic1-02-02-05.jpg
Pic1-03-02-05.jpg
Pic2-01-02-05.jpg
Pic2-02-02-05.jpg
Pic2-03-02-05.jpg
And I would like to sort them. But really don't know how. It should be
sorted lik this:
Pic1-01-02-05.jpg
Pic2-01-02-05.jpg
Pic1-02-02-05.jpg
Pic2-02-02-05.jpg
Pic1-03-02-05.jpg
Pic2-03-02-05.jpg
how do I do so? for sure the filenames can be changed so the files will be
1.jpg
2.jpg
3.jpg
4.jpg
5.jpg
6.jpg
after, that's no problem. Would that be possible with some kind of
shellscript? Can anyhone help me create one?
Thank you very much!

-- 
chEErs roN
I'm root, I'm allowed to do this! ;)
keep on rockin'


Relevant Pages

  • Re: shellscript
    ... >And I would like to sort them. ... >sorted lik this: ... this DO NOT DO THIS AS ROOT. ... DaveC ...
    (alt.os.linux.suse)
  • on behalf of Tonys only ridiculous sake
    ... There, go let a root! ... Gawd Ibrahim will ... unless Ziad yells substitutes worth Abduljalil's ... affections put sort of charming ...
    (sci.crypt)
  • Re: web - new test
    ... Goro, as Boo says... ... sort of BT limbo where sometimes it exists and sometimes not, ... root it is regarded as unused and auto-magically deactivated by the BT ... Perhaps you have indeed upset the BT Server Gods, ...
    (uk.people.silversurfers)
  • Re: ok, its confirmed - Bangalore is building a Test team
    ... a sort of desultory thing. ... But an active interest where you root for your team, ... So what if a few guys who used to play for the city team in some obscure tournament earlier aren't with us anymore. ... If they really cared for Bombay, destiny would have ensured that they were picked up by Bombay :-) ...
    (rec.sport.cricket)
  • Re: web - new test
    ... Goro, as Boo says... ... sort of BT limbo where sometimes it exists and sometimes not, ... root it is regarded as unused and auto-magically deactivated by the BT ... Perhaps you have indeed upset the BT Server Gods, ...
    (uk.people.silversurfers)