User Tools

Site Tools


linux:bash_snippets

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:bash_snippets [2017/06/16 23:00]
mstraub [EXIV]
linux:bash_snippets [2019/09/19 14:39] (current)
mstraub [PDF]
Line 145: Line 145:
  
  
-===== EXIV =====+===== EXIF =====
  
-=== Adjust ​EXIV information ===+Exchangeable Image File Format 
 + 
 +=== Adjust ​EXIF information ===
  
 <code bash> <code bash>
Line 154: Line 156:
 exiv2 -a 0:42 image.jpg ​     # add 42 minutes to image timestamp exiv2 -a 0:42 image.jpg ​     # add 42 minutes to image timestamp
 exiv2 -a -1:10 image.jpg ​    # subtract 1 hour 10 minutes from image timestamp exiv2 -a -1:10 image.jpg ​    # subtract 1 hour 10 minutes from image timestamp
 +</​code>​
 +
 +=== Retrieve GPS locations ===
 +
 +<code bash>
 +exiftool -n -p '​$gpslatitude,​ $gpslongitude,​ $gpsdatetime'​ image.jpg
 </​code>​ </​code>​
  
Line 176: Line 184:
  
 See also http://​www.ghostscript.com/​doc/​9.05/​Ps2pdf.htm#​Options See also http://​www.ghostscript.com/​doc/​9.05/​Ps2pdf.htm#​Options
 +
 +=== Split pdf files ===
 +
 +<code bash>
 +pdfposter -p 2x1a4 in.pdf out_across_2_A4_pages_sidebyside.pdf
 +</​code>​
 +
 +see also https://​wiki.ubuntuusers.de/​pdfposter/​
linux/bash_snippets.1497646829.txt.gz · Last modified: 2017/06/16 23:00 by mstraub