![]() |
[Fixed] Rename Script for Camera Application
Hi Folks
I am using the Nokia Camera application to take snaps and upload them to twitxr.com but the filenames are strangely formatted which makes finding and storing them differcult. A file named 43_03_18-250208.jpg was taken on 25th February 2008 at 18:03:43. I would like some help in writing a bash script to rename the same file to 20080225_180343.jpg so that the listing would be sorted automatically. Any shell gurus in here wanna help ? Thanks |
Re: [Help] Rename Script for Camera Application
Quote:
Code:
#!/bin/sh Copy-paste the script, save it in /home/user as camrename.sh and do: Code:
~ $ chmod +x camrename.sh Code:
~ $ camrename.sh /media/mmc1/camera/images/* |
[Fixed] Rename Script for Camera Application
Excellent , Thanks so much , I was only expecting a few helpful hints!
I've tested it and it works perfectly , you have made my day. |
All times are GMT. The time now is 20:28. |
vBulletin® Version 3.8.8