Bash Script to Fix Android Pictures and Videos Timestamp

/ Published in: Bash
Save to your folder(s)

After copying pictures and videos from my tablet to my PC I noticed that the original timestamp was overriden by the current date.

Fortunatelly the timestamp was still preserved in the files name.

Ex: IMG\_20150214\_202445.jpg or VID\_20140116\_091015.3gp

The script must be executed in the image's folder and voilá the original timestamp will be restored.

Please make a backup after executing it! I'll not bother myself with licensing... but this piece of... software may be used as you wish, and at your own peril! I don't claim credit neither responsability over it.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.