I have more than 800 pictures where I need to extract the date of creation. But if I use the file.mtime
function, it's not working. It's just the date that I modified it. The funny thing is that iPhoto (a program on mac to manage photos) is able to detect the date of creation properly.
This is the code I was using.
my.path = "~/Desktop/cool_path_here"
vec.jpg = list.files(path = my.path)
lapply(paste(my.path,vec.jpg,sep = "/"),FUN = file.mtime)
Is there a function that could extract the date of creation of the photo and not the one that is shown in the "get info" menu on mac.
e.g.: (yesterday was May 18th)
and in iPhoto (found March 16th):
R is finding:
2017-05-19 15:08:29