On Fri, Sep 05, 2003 at 11:36:10AM +0000, John Richard Smith wrote:Todd, I've been a bit slow on the uptake.
Todd Slater wrote:
Very many thanks Todd for your renamer script.As it currently stands, calling the script with "-n yourname" names pictures "yourname-001.jpg, yourname-002.jpg" etc.
Calling it with "-d" names pictures "YYYY-MM-DD-001.jpg" etc.
Calling it with "-n yourname -d" names pictures "yournameYYMMDD-001.jpg" etc.
You're welcome!
<snip>example one =========== [EMAIL PROTECTED] root]# cd /root/Desktop/Directory3 [EMAIL PROTECTED] Directory3]# ls dsci0001.jpg* dsci0007.jpg* dsci0016.jpg* dsci0021.jpg* dsci0027.jpg* dsci0002.jpg* dsci0008.jpg* dsci0017.jpg* dsci0022.jpg* dsci0028.jpg* dsci0003.jpg* dsci0012-2.jpg dsci0018.jpg* dsci0023.jpg* dsci0005.jpg* dsci0012.jpg* dsci0019.jpg* dsci0024.jpg* dsci0006.jpg* dsci0015.jpg* dsci0020.jpg* dsci0025.jpg*
[EMAIL PROTECTED] Directory3]# renamer.sh -n holiday
[EMAIL PROTECTED] Directory3]# ls
holiday-001.jpg* holiday-007.jpg* holiday-013.jpg* holiday-019.jpg*
holiday-002.jpg* holiday-008.jpg holiday-014.jpg* holiday-020.jpg*
holiday-003.jpg* holiday-009.jpg* holiday-015.jpg* holiday-021.jpg*
holiday-004.jpg* holiday-010.jpg* holiday-016.jpg* holiday-022.jpg*
holiday-005.jpg* holiday-011.jpg* holiday-017.jpg*
holiday-006.jpg* holiday-012.jpg* holiday-018.jpg*
But I cannot quite understand how you do it your way, with the flag -d
do I add it something like renamer.sh -n hol -d 08042003
You do not have to add anything after the "-d" as it calls exif to read the date imprint left by the camera (exif header). IOW, when you take a picture the camera includes metadata about it (date and time taken, speed, exposure etc.) which can then be read.
You can just include the date like "-n holiday08042003" if you want, but if you've got old pictures you might not remember when they were taken.
HTH,
Todd
I see what you mean. One further question though , you see my camera doesn't work in mandrake, so I use a multicard smartcard reader to load the image files to a system directory, will it still work ?, the bit about the date that is.
John
--
John Richard Smith
[EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com