This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
/
exiftool_usage.txt
90 lines (64 loc) · 3.86 KB
/
exiftool_usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
exiftool -exif:gpslatitude="42 30 0.00" -exif:gpslatituderef=S a.jpg
exiftool -exif:gpslatitude="42 deg 30.00 min" -exif:gpslatituderef=S a.jpg
exiftool -exif:gpslatitude=42.5 -exif:gpslatituderef=S a.jpg
exiftool -xmp:gpslatitude="42 30 0.00 S" a.jpg
exiftool -xmp:gpslatitude=42.50S a.jpg
exiftool -xmp:gpslatitude=-42.5 a.jpg
Hoefslagmate 58: geotagged geo:lat=52.514438 geo:lon=6.086426 (ongeveer)
Recife: geotagged geo:lat=-7.940281 geo:lon=-34.848633
exiftool -overwrite_original_in_place -xmp:City="Recife" -xmp:Country="Brazil" -xmp:Location="Brazil, Recife, Somewhere" -iptc:City="Recife" -iptc:Country-PrimaryLocationName="Brazil" -exif:gpslatitude=-7.940281 -exif:gpslongitude=-34.848633 -xmp:gpslatitude=-7.940281 -xmp:gpslongitude=-34.848633 -exif:gpslatituderef=S -exif:gpslongituderef=W image.jpg
for i in *.jpg; do
# exiftool -overwrite_original_in_place -exif:gpslatitude=52.514438 -exif:gpslongitude=6.086426 -exif:gpslatituderef=N -exif:gpslongituderef=E -xmp:gpslatitude=52.514438 -xmp:gpslongitude=6.086426 "$i"
exiftool -overwrite_original_in_place -exif:gpslatitude=52.514438 -exif:gpslongitude=6.086426 -exif:gpslatituderef=N -exif:gpslongituderef=E -exif:GPSMapDatum="WGS-84" -xmp:gpslatitude=52.514438 -xmp:gpslongitude=6.086426 -xmp:City="Zwolle" -xmp:Country="Netherlands" -xmp:Location="The Netherlands, Zwolle, Hoefslagmate 58" "$i"
# Can't be done in one command
exiftool "-FileModifyDate<DateTimeOriginal" "$i"
done
-xmp:Location :
-xmp:Country : SPAIN
-xmp:State : MÁLAGA
-xmp:City : FRIGILIANA
-xmp:Landmark : ---
exiftool -overwrite_original_in_place -xmp:City="Zwolle" -xmp:Country="Netherlands" -xmp:Location="The Netherlands, Zwolle, Hoefslagmate 58" -iptc:City="Zwolle" -iptc:Country-PrimaryLocationName="Netherlands" 20121117-015.jpg
-iptc:Province-State="" -iptc:Sub-location=""
exiftool -D -a -gps:all image.jpg
0 GPS Version ID : 2.2.0.0
1 GPS Latitude Ref : North
2 GPS Latitude : 36 deg 39' 46.03"
3 GPS Longitude Ref : West
4 GPS Longitude : 4 deg 27' 33.61"
7 GPS Time Stamp : 17:51:28
8 GPS Satellites : 4
9 GPS Status : Measurement Active
10 GPS Measure Mode : 2-Dimensional Measurement
11 GPS Dilution Of Precision : 3.6
18 GPS Map Datum : WGS-84
27 GPS Processing Method : GPS
29 GPS Date Stamp : 2012:10:22
EXIF
-exif:Make
-exif:Model
-exif:Artist
-exif:Copyright
-exif:UserComment
-exif:ImageDescription
GPano Google Photosphere
exiftool -overwrite_original_in_place -xmp:CroppedAreaImageHeightPixels="300" -xmp:CroppedAreaImageWidthPixels="800" -xmp:CroppedAreaLeftPixels="20" -xmp:CroppedAreaTopPixels="20" -xmp:FullPanoHeightPixels="1024" -xmp:FullPanoWidthPixels="8000" -xmp:ProjectionType="equirectangular" -xmp:UsePanoramaViewer=1 -xmp:PoseHeadingDegrees="120"
Name tags:
-xmp Region Person Display Name : Carlos 2011-, Maria (Person, PersonInImage)
-iptc Keywords : Arnaldur 2008-, John
exiftool -overwrite_original_in_place -xmp:Person="Piet, Jan" -xmp:PersonInImage="Piet, Jan" -iptc:Keywords="Piet, Jan" 20121114-050.jpg
exporting
txt output
for i in *.jpg; do exiftool -w txt -all $i ; done
will write to text file like somephoto.jpg -> somephoto.txt
Can also be done as: for i in *.jpg; do exiftool -all $i > $i.txt; done
which will create somephoto.jpg.txt
xml output
for i in *.jpg; do exiftool -w xml -X -all $i; done
tab separated
for i in *.jpg; do exiftool -t -w txt -all $i; done
in html (table) format
for i in *.jpg; do exiftool -h -w htm -all $i; done
One big csv file for a lot of images
exiftool -csv -all *.jpg > pipo.csv