docs:video:archiving_avchd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:video:archiving_avchd [2013/05/24 20:44] billhdocs:video:archiving_avchd [2013/05/27 12:44] (current) billh
Line 12: Line 12:
 Here is a bash loop to output a file of the original dates with filenames<code bash> Here is a bash loop to output a file of the original dates with filenames<code bash>
 `which ls` -1 *.MTS|while read file;do `which ls` -1 *.MTS|while read file;do
-echo "${file}" `exiftool -s -time:all "${file}" | grep DateTimeOriginal`; +echo "${file}" `exiftool -s -time:all "${file}" | grep "DateTimeOriginal"`; 
-done > dates.txt+done |sed -e 's/DateTimeOriginal //g' -e 's/[0-9:]*-.*//g' -e 's/:/-/g' > dates.txt
 </code> </code>
  
  • docs/video/archiving_avchd.1369449862.txt.gz
  • Last modified: 2013/05/24 20:44
  • by billh