Re: Power Poster for Binaries
From: Julian Bradfield (jcb_at_inf.ed.ac.uk)
Date: 07/25/05
- Previous message: CWO4 Dave Mann: "Re: Power Poster for Binaries"
- In reply to: CWO4 Dave Mann: "Re: Power Poster for Binaries"
- Next in thread: CWO4 Dave Mann: "Re: Power Poster for Binaries"
- Reply: CWO4 Dave Mann: "Re: Power Poster for Binaries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 25 Jul 2005 15:52:13 +0000 (UTC)
In article <1263885.O3gqvrtDTQ@linux.user.and.happy>,
CWO4 Dave Mann <misterfixit@loveable.com> wrote:
>For example, There might be a picture on my camera device named
>"dfg0001.jpg" taken today. I want to rename it and all the others to some
>more descriptive name such as "Porsche 928 Work #1.jpg" and so on and have
>the following folders which I include in my mouse click hilight be renamed
>with ascending numbers. Windows does this natively, BTW, when selecting a
>range of files in a folder and renaming one folder, each succeeding folder
>is named the same with an incremented number as part of the file name.
You mean "file" most of the time you say "folder", don't you?
In a shell:
cd wherever-your-camera-is-mounted
i=1 ; for f in *.jpg ; do mv $f "Porsche 928 Work #$i.jpg" ; i=$[i+1] ; done
A little basic shell programming goes a long way! If you practise it,
things like that will just flow out of your fingers without thought.
- Previous message: CWO4 Dave Mann: "Re: Power Poster for Binaries"
- In reply to: CWO4 Dave Mann: "Re: Power Poster for Binaries"
- Next in thread: CWO4 Dave Mann: "Re: Power Poster for Binaries"
- Reply: CWO4 Dave Mann: "Re: Power Poster for Binaries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|