Monday, February 15, 2021

How to fix time in name of files from Google camera application from UTC to localtime

 copy all files in test folder


# to rename all jpeg

jhead -nPXL_%Y%m%d_%H%M%S *.jpg


# do only mp4 as jpeg is better to be done by jhead

exiftool -d 'PXL_%Y%m%d_%H%M%S.%%e' '-FileName<filemodifydate' *.mp4


# sources are at https://gist.github.com/romani/e2358e3c1dece784fae9fe19be0fd143

./split-img.sh


------


# sometimes required to https://gist.github.com/romani/862f33b98eb05060245ef864115ee66f 

./move-portrait.sh


in case re-split, source of wisdom:

find . -type f -mindepth 2 -exec mv -i -- {} . \; 


No comments:

Post a Comment