On Monday 25 August 2003 03:10 pm, John Richard Smith wrote:
> OK, so this is a tipical download via my smart card reader,
> [EMAIL PROTECTED] root]# cd /root/sane2
> [EMAIL PROTECTED] sane2]# ls
> dsci0001.jpg*  dsci0007.jpg*  dsci0013.jpg*  dsci0019.jpg*
> dsci0025.jpg*
> dsci0002.jpg*  dsci0008.jpg*  dsci0014.jpg*  dsci0020.jpg*
> dsci0026.jpg*
> dsci0003.jpg*  dsci0009.jpg*  dsci0015.jpg*  dsci0021.jpg*
> dsci0027.jpg*
> dsci0004.jpg*  dsci0010.jpg*  dsci0016.jpg*  dsci0022.jpg*
> dsci0028.jpg*
> dsci0005.jpg*  dsci0011.jpg*  dsci0017.jpg*  dsci0023.jpg*
> dsci0006.jpg*  dsci0012.jpg*  dsci0018.jpg*  dsci0024.jpg*
>
> These are digital camera pix , the product of an event to
> which I would like to add a replacement prefix for "dsci" to
> reflect the nature of the
> event and a date, so in this case I might choose something
> lile "bankholiday240803<followed by 0001.jpg> etc.
>
> Can someone suggest a script to do this for me so I don't have
> to manually retype the file name in properties for each file.
> It would be nice if I could run the script and it asked me for
>  a syntax , which would be different in each event , and then
> added it in place of the bit
> of syntax to be removed.
> I think it might be nice if I could just copy the bash script
> file to the source directory and run it from there, dunno
> though .
>
> Possible ?
>
> Also out of pure curiosity why does the file names all end in
> " * " ?
>
> John

Not sure what you want John, but I think *rename* will do the 
job. It's a little awkward IMHO, but try *man rename*. At least 
I had some succes with the same problem.

HTH
Kaj Haulrich
-- 
Registered Linux user  # 214073 at http://counter.li.org
Powered by Linux - Mandrake 9.1  kernel 2.4.21-0.25mdk
Sent to you from a 100 % Micro$oft-free computer. 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to