Guest User

Untitled

a guest
Feb 17th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. path <- "C:/Users/James/Desktop/stihtians_mapir/photo_sub"
  2.  
  3. files <- list.files(path)
  4.  
  5. for(i in 1:length(files)) {
  6. system(paste0("C:/exiftool/exiftool.exe ", "-overwrite_original -alldates+=\"1:0:0 0\" ", path,
  7. "/",files[i]))
  8. }
  9.  
  10. #in alldates+= \ are used to escape "
  11. #in alldates+= "Y:M:D 0" is the syntax. Trailing 0 stays.
Add Comment
Please, Sign In to add comment