![]() Many thanks to Matthias Wandel for jhead and his other contributions to making life with bits better for us all. If you want to run the program not just on the directory that you’re in but in all of its subdirectories, this post at StackExchange tells you how: After that final slash the command is telling the terminal to run the jhead program, with a particular set of options (-ft) and to apply it to all the files in that directory that end with the extension “.jpg.” Applications/Utilities/jpg-batch-file-jhead/jhead -ft *.jpgĮverything before the final forward slash is the path to wherever you put the jhead file. Fix it if it’s wrong because the next command will change the file dates of jpgs in whatever directory you’re currently in. That will show you your current directory. How to batch change the date and time of multiple photos - Google Photos Community. You can confirm that you’ve successfully changed to the right directory by typing this into your terminal: If not, my dear friend Google can probably help you. I’m going to assume you know enough about paths to figure out your own, how to handle spaces in directory names, etc. You do this with the “cd” command, as in:Ĭd /Applications/Users/david/Downloads/GooglePhotos/ Log in as a superuser:Įnter the password you use to log into your computer and press Enter.Ĭhange to the directory the contains the photos you want to update. On my Mac I put it in /Applications/Utilities/, but it really doesn’t matter. Go to and download the right version of jhead for your computer. So, all you need to do is extract that date and re-set your file’s date to match it.įortunately, the good folks on the Net have done the heavy lifting for us. There’s lots of metadata about your photo in that header, including the date it was taken. JPG’s come with a header of info (called EXIF) that you can’t see but your computer can. So, you should adjust the file dates to reflect the day the photos were taken. But the files are still all going to be dated with the day you did the download, and that’s going to mean they won’t sort chronologically with any photos that don’t follow that exact naming convention. So maybe you want to just munge the file name to make it more readable, as in “.” If you do it that way, you’ll be able to sort chronologically just by sorting alphabetically. Ok, so maybe you noticed that the file name Google Photos supplies contains the date the photo was taken. This is pretty much a disaster, especially since the photos have names like “IMG_20170619_153745.jpg.” But when you do, every photo’s file will be stamped as having been created on the day you downloaded it. Google Photos lets you download your photos, which is good since they’re you’re own damn photos. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |