Home

Fabrizio Biondi

Welcome to RenPhotoByDate project page!

If you like this project consider to offer me a beer!


<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAnjYIqfkpJBKNfMHVWgBJ3LVTgrxhVbAGivNBEHQ/jjbBWMKUQcVSvVcByzj18pBXZX4yA2hem3lnbR2D0QIjVxXcNwxlbTFEiiT0sQRiNdFbLIwbz7qa3RYd+yDZQ23G0PWo9CpbcfeUKNHUdwW5Na6c0qFJ7KmXA9gDw6tEGTDELMAkGBSsOAwIaBQAwgawGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIMB10VDFFWWyAgYi0uFrxx5+R8+mpLRBq5PvaXSIpx10hz082enWSti8+hXa2Kp1mhjaANNZgkv7cx3TVg/1bhjlShS7hkJxg3ppoFrpFJsL9GwwPHHG6acGs5bcqJYmWd3pl3j0qW5zv3EgDDWn6V3HA9YmxmBYX2/c425r7JThq60THPeNRnm1Z482BbgLoILSJoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlw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XcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTEwOTA4MDk1NDA1WjAjBgkqhkiG9w0BCQQxFgQUmqVacr1yRRspVMjO5OB0tyQCX6QwDQYJKoZIhvcNAQEBBQAEgYCe49JOutfB2fEZxHqykmAEQ4pm3IDh1sDODjTvVii/SqzTpH8A9d2lfStaxjD7BDZKPBbK5WX6OrJ9Yl8B+WJR1IzJIMW8HGLXIP2ygJVlBu6kFDnwLzk/Qu5mWO1trZMqjWd+AnWeT4K3ccyNuXRx01vYZ+kjIz0OvKF3r8ClBQ==-----END PKCS7----- ">
<input type="image" src="https://www.paypalobjects.com/it_IT/IT/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - Il sistema di pagamento online più facile e sicuro!">

</form>

RenPhotoByDate is a simple command-line php script which take one o more files, tests if there is an EXIF date of creation e eventually it renames the file according to YYYYMMDD_HHMM format. It's designed to rename digitl-camera generated JPG files from standard name (e.g. DSC0001.jpg, or IMG_0034.jpg) into a name created using shot time (year, month, day, hour and minutes) like 20110531_1534.jpg.
This shuould create unique and ordered photo names. If there are more photos with tha same time of creation in the same directory the script will add a progressive numeric suffix to the file name. If no EXIF data is founded RPbN bypasses the file.

RenPhotoByName was created in 2010 by Fabrizio Biondi (http://www.britz75.it) and it's released under GPL license.

RenPhotoByName is writter in PHP so it's multiplatforms but it was tested only under Unix/Linux environments.
It's assumes that php-cli is installed on the system.

Usage:
rpbd.php <filename1> [<filename2>...]

or

rpbd.php *.jpg

or

rpbd.php .


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks