Compare commits
4 Commits
31d8fd53c8
...
09034e6f6a
Author | SHA1 | Date | |
---|---|---|---|
09034e6f6a | |||
4f828962c1 | |||
265f50291d | |||
63a265a557 |
@ -0,0 +1,457 @@
|
||||
#!/bin/bash
|
||||
# apply exif data to photos
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:15" \
|
||||
-AllDates="2023:02:11 15:34:15" \
|
||||
-MediaCreateDate="2023:02:11 15:34:15" \
|
||||
-MediaModifyDate="2023:02:11 15:34:15" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:15" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:15" \
|
||||
-GPSLongitude="2.2118395" \
|
||||
-GPSLatitude="48.715715" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_12896859d3cfc099a77ae4702081bd7c.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:21" \
|
||||
-AllDates="2023:02:11 15:34:21" \
|
||||
-MediaCreateDate="2023:02:11 15:34:21" \
|
||||
-MediaModifyDate="2023:02:11 15:34:21" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:21" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:21" \
|
||||
-GPSLongitude="2.2117451" \
|
||||
-GPSLatitude="48.7155648" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_12add40b10915a7eeb5a5840052da55b.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:29" \
|
||||
-AllDates="2023:02:11 15:34:29" \
|
||||
-MediaCreateDate="2023:02:11 15:34:29" \
|
||||
-MediaModifyDate="2023:02:11 15:34:29" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:29" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:29" \
|
||||
-GPSLongitude="2.2117634" \
|
||||
-GPSLatitude="48.7155299" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_1b62a0c40a42cdeb5872b9028e13e764.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:33" \
|
||||
-AllDates="2023:02:11 15:34:33" \
|
||||
-MediaCreateDate="2023:02:11 15:34:33" \
|
||||
-MediaModifyDate="2023:02:11 15:34:33" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:33" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:33" \
|
||||
-GPSLongitude="2.2118215" \
|
||||
-GPSLatitude="48.7155641" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_2da3e5708352e6e7a80ee3c3efc481dc.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:35" \
|
||||
-AllDates="2023:02:11 15:34:35" \
|
||||
-MediaCreateDate="2023:02:11 15:34:35" \
|
||||
-MediaModifyDate="2023:02:11 15:34:35" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:35" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:35" \
|
||||
-GPSLongitude="2.2118561" \
|
||||
-GPSLatitude="48.7155933" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_312a6b466af1879b18e6554cf3392b9a.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:41" \
|
||||
-AllDates="2023:02:11 15:34:41" \
|
||||
-MediaCreateDate="2023:02:11 15:34:41" \
|
||||
-MediaModifyDate="2023:02:11 15:34:41" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:41" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:41" \
|
||||
-GPSLongitude="2.2118872" \
|
||||
-GPSLatitude="48.7156305" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_36bfd8bedca19bb49ecbf7ce61301b75.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:45" \
|
||||
-AllDates="2023:02:11 15:34:45" \
|
||||
-MediaCreateDate="2023:02:11 15:34:45" \
|
||||
-MediaModifyDate="2023:02:11 15:34:45" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:45" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:45" \
|
||||
-GPSLongitude="2.2119556" \
|
||||
-GPSLatitude="48.7156479" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_38608abb52bd0eb10b46f143030a9adc.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:49" \
|
||||
-AllDates="2023:02:11 15:34:49" \
|
||||
-MediaCreateDate="2023:02:11 15:34:49" \
|
||||
-MediaModifyDate="2023:02:11 15:34:49" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:49" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:49" \
|
||||
-GPSLongitude="2.2120284" \
|
||||
-GPSLatitude="48.7156563" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_386600eb1c749d60710cf26026870b31.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:54" \
|
||||
-AllDates="2023:02:11 15:34:54" \
|
||||
-MediaCreateDate="2023:02:11 15:34:54" \
|
||||
-MediaModifyDate="2023:02:11 15:34:54" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:54" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:54" \
|
||||
-GPSLongitude="2.2121145" \
|
||||
-GPSLatitude="48.7156831" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_40362d092d0ea8721c706c00bc47614b.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:34:57" \
|
||||
-AllDates="2023:02:11 15:34:57" \
|
||||
-MediaCreateDate="2023:02:11 15:34:57" \
|
||||
-MediaModifyDate="2023:02:11 15:34:57" \
|
||||
-TrackCreateDate=="2023:02:11 15:34:57" \
|
||||
-TrackModifyDate=="2023:02:11 15:34:57" \
|
||||
-GPSLongitude="2.2121798" \
|
||||
-GPSLatitude="48.7156955" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_432d0b17a4d016e61c0ef28229d399e7.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:01" \
|
||||
-AllDates="2023:02:11 15:35:01" \
|
||||
-MediaCreateDate="2023:02:11 15:35:01" \
|
||||
-MediaModifyDate="2023:02:11 15:35:01" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:01" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:01" \
|
||||
-GPSLongitude="2.2122592" \
|
||||
-GPSLatitude="48.7156989" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_5099bad433f55b78584e0ee6fe3ea002.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:04" \
|
||||
-AllDates="2023:02:11 15:35:04" \
|
||||
-MediaCreateDate="2023:02:11 15:35:04" \
|
||||
-MediaModifyDate="2023:02:11 15:35:04" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:04" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:04" \
|
||||
-GPSLongitude="2.2123376" \
|
||||
-GPSLatitude="48.7156828" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_54f99bc0920df8a402fc613f519b0fae.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:11" \
|
||||
-AllDates="2023:02:11 15:35:11" \
|
||||
-MediaCreateDate="2023:02:11 15:35:11" \
|
||||
-MediaModifyDate="2023:02:11 15:35:11" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:11" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:11" \
|
||||
-GPSLongitude="2.2124348" \
|
||||
-GPSLatitude="48.7156762" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_559c29bb7f04dab413df3899b10511fb.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:15" \
|
||||
-AllDates="2023:02:11 15:35:15" \
|
||||
-MediaCreateDate="2023:02:11 15:35:15" \
|
||||
-MediaModifyDate="2023:02:11 15:35:15" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:15" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:15" \
|
||||
-GPSLongitude="2.2125081" \
|
||||
-GPSLatitude="48.7156527" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_7b0f72a988db65db3764bc5bb2aec532.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:19" \
|
||||
-AllDates="2023:02:11 15:35:19" \
|
||||
-MediaCreateDate="2023:02:11 15:35:19" \
|
||||
-MediaModifyDate="2023:02:11 15:35:19" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:19" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:19" \
|
||||
-GPSLongitude="2.2125647" \
|
||||
-GPSLatitude="48.715625" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_7e8e85bfde720bd120414e9eaf469d23.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:24" \
|
||||
-AllDates="2023:02:11 15:35:24" \
|
||||
-MediaCreateDate="2023:02:11 15:35:24" \
|
||||
-MediaModifyDate="2023:02:11 15:35:24" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:24" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:24" \
|
||||
-GPSLongitude="2.2126312" \
|
||||
-GPSLatitude="48.7155697" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_859a3849682f215e78bb1e716ecb5909.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:28" \
|
||||
-AllDates="2023:02:11 15:35:28" \
|
||||
-MediaCreateDate="2023:02:11 15:35:28" \
|
||||
-MediaModifyDate="2023:02:11 15:35:28" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:28" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:28" \
|
||||
-GPSLongitude="2.2126668" \
|
||||
-GPSLatitude="48.715537" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_8a0830f6ec7d80bb8de45029fa96a5ee.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:31" \
|
||||
-AllDates="2023:02:11 15:35:31" \
|
||||
-MediaCreateDate="2023:02:11 15:35:31" \
|
||||
-MediaModifyDate="2023:02:11 15:35:31" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:31" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:31" \
|
||||
-GPSLongitude="2.2126877" \
|
||||
-GPSLatitude="48.7154924" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_8be3d282b269c2aa3bbb622e83143a2f.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:36" \
|
||||
-AllDates="2023:02:11 15:35:36" \
|
||||
-MediaCreateDate="2023:02:11 15:35:36" \
|
||||
-MediaModifyDate="2023:02:11 15:35:36" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:36" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:36" \
|
||||
-GPSLongitude="2.2127349" \
|
||||
-GPSLatitude="48.715444" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_a9604b8fe752b20766d5bd75b4e382d6.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:40" \
|
||||
-AllDates="2023:02:11 15:35:40" \
|
||||
-MediaCreateDate="2023:02:11 15:35:40" \
|
||||
-MediaModifyDate="2023:02:11 15:35:40" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:40" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:40" \
|
||||
-GPSLongitude="2.2127556" \
|
||||
-GPSLatitude="48.7154025" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_b1628ea6d532e7adc51ade2c75f5c364.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:41" \
|
||||
-AllDates="2023:02:11 15:35:41" \
|
||||
-MediaCreateDate="2023:02:11 15:35:41" \
|
||||
-MediaModifyDate="2023:02:11 15:35:41" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:41" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:41" \
|
||||
-GPSLongitude="2.2127819" \
|
||||
-GPSLatitude="48.7153662" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_bb17e0b094820f523bea373cce31469c.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:45" \
|
||||
-AllDates="2023:02:11 15:35:45" \
|
||||
-MediaCreateDate="2023:02:11 15:35:45" \
|
||||
-MediaModifyDate="2023:02:11 15:35:45" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:45" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:45" \
|
||||
-GPSLongitude="2.2128027" \
|
||||
-GPSLatitude="48.7153202" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_bed29586cd78a0ca8f0e138fc92f3fe0.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:52" \
|
||||
-AllDates="2023:02:11 15:35:52" \
|
||||
-MediaCreateDate="2023:02:11 15:35:52" \
|
||||
-MediaModifyDate="2023:02:11 15:35:52" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:52" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:52" \
|
||||
-GPSLongitude="2.2128324" \
|
||||
-GPSLatitude="48.7152583" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_bfc56e20577cf1a76072171308b8d843.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:35:56" \
|
||||
-AllDates="2023:02:11 15:35:56" \
|
||||
-MediaCreateDate="2023:02:11 15:35:56" \
|
||||
-MediaModifyDate="2023:02:11 15:35:56" \
|
||||
-TrackCreateDate=="2023:02:11 15:35:56" \
|
||||
-TrackModifyDate=="2023:02:11 15:35:56" \
|
||||
-GPSLongitude="2.2128566" \
|
||||
-GPSLatitude="48.7152045" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_c3153793fb82146a42425ea51050ca90.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:00" \
|
||||
-AllDates="2023:02:11 15:36:00" \
|
||||
-MediaCreateDate="2023:02:11 15:36:00" \
|
||||
-MediaModifyDate="2023:02:11 15:36:00" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:00" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:00" \
|
||||
-GPSLongitude="2.2128709" \
|
||||
-GPSLatitude="48.7151628" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_c4321b28939bae9f28d192260358bf04.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:05" \
|
||||
-AllDates="2023:02:11 15:36:05" \
|
||||
-MediaCreateDate="2023:02:11 15:36:05" \
|
||||
-MediaModifyDate="2023:02:11 15:36:05" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:05" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:05" \
|
||||
-GPSLongitude="2.2128868" \
|
||||
-GPSLatitude="48.715095" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_ca172ebcf92b2543d6046e2eed7a9501.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:10" \
|
||||
-AllDates="2023:02:11 15:36:10" \
|
||||
-MediaCreateDate="2023:02:11 15:36:10" \
|
||||
-MediaModifyDate="2023:02:11 15:36:10" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:10" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:10" \
|
||||
-GPSLongitude="2.2129006" \
|
||||
-GPSLatitude="48.7150241" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_d02e69fad6bbd51b89915548c29c2a91.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:14" \
|
||||
-AllDates="2023:02:11 15:36:14" \
|
||||
-MediaCreateDate="2023:02:11 15:36:14" \
|
||||
-MediaModifyDate="2023:02:11 15:36:14" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:14" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:14" \
|
||||
-GPSLongitude="2.2129011" \
|
||||
-GPSLatitude="48.7149802" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_d2fc657075d7d61467e9d62c4dab0bd3.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:17" \
|
||||
-AllDates="2023:02:11 15:36:17" \
|
||||
-MediaCreateDate="2023:02:11 15:36:17" \
|
||||
-MediaModifyDate="2023:02:11 15:36:17" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:17" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:17" \
|
||||
-GPSLongitude="2.2129087" \
|
||||
-GPSLatitude="48.7149369" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_d7a7de6516dac49810b63d0b883f3e08.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:20" \
|
||||
-AllDates="2023:02:11 15:36:20" \
|
||||
-MediaCreateDate="2023:02:11 15:36:20" \
|
||||
-MediaModifyDate="2023:02:11 15:36:20" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:20" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:20" \
|
||||
-GPSLongitude="2.2129178" \
|
||||
-GPSLatitude="48.7148828" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_d875a_63e847312b204.txt_trace.gpx"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:25" \
|
||||
-AllDates="2023:02:11 15:36:25" \
|
||||
-MediaCreateDate="2023:02:11 15:36:25" \
|
||||
-MediaModifyDate="2023:02:11 15:36:25" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:25" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:25" \
|
||||
-GPSLongitude="2.2129152" \
|
||||
-GPSLatitude="48.714842" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_e1ad3bba5a5b26ce4e516e49a295032a.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:29" \
|
||||
-AllDates="2023:02:11 15:36:29" \
|
||||
-MediaCreateDate="2023:02:11 15:36:29" \
|
||||
-MediaModifyDate="2023:02:11 15:36:29" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:29" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:29" \
|
||||
-GPSLongitude="2.2129103" \
|
||||
-GPSLatitude="48.7147992" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_e99b7eabcec0e0adf1136e7bf1ff349e.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:33" \
|
||||
-AllDates="2023:02:11 15:36:33" \
|
||||
-MediaCreateDate="2023:02:11 15:36:33" \
|
||||
-MediaModifyDate="2023:02:11 15:36:33" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:33" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:33" \
|
||||
-GPSLongitude="2.2129028" \
|
||||
-GPSLatitude="48.7147494" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_eed752a3c1e9e73eeed12eca597a90c3.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:37" \
|
||||
-AllDates="2023:02:11 15:36:37" \
|
||||
-MediaCreateDate="2023:02:11 15:36:37" \
|
||||
-MediaModifyDate="2023:02:11 15:36:37" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:37" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:37" \
|
||||
-GPSLongitude="2.2128975" \
|
||||
-GPSLatitude="48.7147027" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_f1a1471c9472e6b9a3546c343712e14f.jpg"
|
||||
|
||||
|
||||
|
||||
exiftool -overwrite_original \
|
||||
-GPSDateTime="2023:02:11 15:36:40" \
|
||||
-AllDates="2023:02:11 15:36:40" \
|
||||
-MediaCreateDate="2023:02:11 15:36:40" \
|
||||
-MediaModifyDate="2023:02:11 15:36:40" \
|
||||
-TrackCreateDate=="2023:02:11 15:36:40" \
|
||||
-TrackModifyDate=="2023:02:11 15:36:40" \
|
||||
-GPSLongitude="2.2128886" \
|
||||
-GPSLatitude="48.7146623" \
|
||||
"/home/poule/encrypted/stockage-syncable/photos/imagerie kartaview carto tel/kartaview_export_storage/share2tykayn/test_photo_apply/6752953/6752953_f2871aa45eae066c8004079f1cae0141.jpg"
|
||||
|
@ -33,6 +33,13 @@ export const domainsConfig = [
|
||||
domain: 'www.free-software-academy.com',
|
||||
framework: 'static',
|
||||
disableSSL: true,
|
||||
},{
|
||||
LXCcontainerLocalIP,
|
||||
LXCcontainerProtocol,
|
||||
name: 'coussinet',
|
||||
domain: 'www.coussinet.org',
|
||||
framework: 'static',
|
||||
disableSSL: true,
|
||||
},
|
||||
{
|
||||
LXCcontainerLocalIP,
|
||||
|
@ -103,7 +103,7 @@ upstream php-handler {
|
||||
`;
|
||||
|
||||
let secureAccess = `
|
||||
server {
|
||||
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
@ -111,8 +111,7 @@ upstream php-handler {
|
||||
ssl_certificate /etc/letsencrypt/live/${domainConfig.domain}-0001/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/${domainConfig.domain}-0001/privkey.pem;
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
|
||||
|
||||
}
|
||||
|
||||
`
|
||||
;
|
||||
if(domainConfig.disableSSL){
|
||||
@ -139,13 +138,10 @@ ${redirectToNoWWW ? redirectToNoWWWConf : '' }
|
||||
|
||||
${redirectToWWW ? redirectToWWWConf : '' }
|
||||
|
||||
|
||||
server {
|
||||
server {
|
||||
${secureAccess}
|
||||
${hostingFileAccess}
|
||||
|
||||
}
|
||||
`,
|
||||
} `,
|
||||
homeNginxConf: `
|
||||
# ============ ${domainConfig.name} ===============
|
||||
|
||||
|
@ -90,7 +90,7 @@ server {
|
||||
log_not_found off;
|
||||
}
|
||||
add_header Permissions-Policy "interest-cohort=()";
|
||||
}
|
||||
|
||||
# ========================== ${domainConfig.name} | fin ================ #
|
||||
`
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
# OSM Conversion
|
||||
|
||||
Convertir un résultat d'overpass vers un tableau CSV de base de données présentant les limites de vitesse de tronçons routiers.
|
||||
Overpass permet un export en csv, donc finalement, pas besoin de conversion.
|
||||
|
||||
file:///home/tykayn/Nextcloud/boulot/osm/bdd_vitesses/overpass_results
|
||||
|
||||
|
24
package-lock.json
generated
24
package-lock.json
generated
@ -10,7 +10,9 @@
|
||||
"fs": "^0.0.1-security",
|
||||
"minimist": "^1.2.8",
|
||||
"moment": "^2.29.4",
|
||||
"node-fs": "^0.1.7"
|
||||
"node-fs": "^0.1.7",
|
||||
"piexif": "^0.0.2",
|
||||
"piexifjs": "^1.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.5",
|
||||
@ -4722,6 +4724,16 @@
|
||||
"url": "https://github.com/sponsors/jonschlinkert"
|
||||
}
|
||||
},
|
||||
"node_modules/piexif": {
|
||||
"version": "0.0.2",
|
||||
"resolved": "https://registry.npmjs.org/piexif/-/piexif-0.0.2.tgz",
|
||||
"integrity": "sha512-a78AfSOYCXAx+tj/46kzAntKbxlSLyXta75LL6OxPLtSPQwCvqx3OfPvUEHT5Y/9FZsgxtgBu4CUf90F44B5Sw=="
|
||||
},
|
||||
"node_modules/piexifjs": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/piexifjs/-/piexifjs-1.0.6.tgz",
|
||||
"integrity": "sha512-0wVyH0cKohzBQ5Gi2V1BuxYpxWfxF3cSqfFXfPIpl5tl9XLS5z4ogqhUCD20AbHi0h9aJkqXNJnkVev6gwh2ag=="
|
||||
},
|
||||
"node_modules/pirates": {
|
||||
"version": "4.0.6",
|
||||
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
|
||||
@ -8982,6 +8994,16 @@
|
||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||
"dev": true
|
||||
},
|
||||
"piexif": {
|
||||
"version": "0.0.2",
|
||||
"resolved": "https://registry.npmjs.org/piexif/-/piexif-0.0.2.tgz",
|
||||
"integrity": "sha512-a78AfSOYCXAx+tj/46kzAntKbxlSLyXta75LL6OxPLtSPQwCvqx3OfPvUEHT5Y/9FZsgxtgBu4CUf90F44B5Sw=="
|
||||
},
|
||||
"piexifjs": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/piexifjs/-/piexifjs-1.0.6.tgz",
|
||||
"integrity": "sha512-0wVyH0cKohzBQ5Gi2V1BuxYpxWfxF3cSqfFXfPIpl5tl9XLS5z4ogqhUCD20AbHi0h9aJkqXNJnkVev6gwh2ag=="
|
||||
},
|
||||
"pirates": {
|
||||
"version": "4.0.6",
|
||||
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
|
||||
|
@ -5,15 +5,20 @@
|
||||
"fs": "^0.0.1-security",
|
||||
"minimist": "^1.2.8",
|
||||
"moment": "^2.29.4",
|
||||
"node-fs": "^0.1.7"
|
||||
"node-fs": "^0.1.7",
|
||||
"piexif": "^0.0.2",
|
||||
"piexifjs": "^1.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.5",
|
||||
"@babel/preset-env": "^7.22.5",
|
||||
"@babel/preset-typescript": "^7.22.5",
|
||||
"@jest/globals": "^29.5.0",
|
||||
"@types/cheerio": "^0.22.31",
|
||||
"@types/minimist": "^1.2.2",
|
||||
"axios": "^1.4.0",
|
||||
"babel-jest": "^29.5.0",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"jest": "^29.5.0",
|
||||
"nodemon": "^2.0.22",
|
||||
"ts-node": "^10.9.1"
|
||||
|
3715
pnpm-lock.yaml
Normal file
3715
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,18 +8,21 @@ import WriteFile from "./utils";
|
||||
const axios = require('axios');
|
||||
const cheerio = require('cheerio');
|
||||
const url: string = "www.mediatheque-de-briis-sous-forges.net";
|
||||
const fetching_path: string = "/mediatheque-de-briis-sous-forges.net/opac/recherche/catalogue?node=0&value=0&page=2";
|
||||
let fetching_path: string = "/mediatheque-de-briis-sous-forges.net/opac/recherche/catalogue?node=0&value=0&page=";
|
||||
|
||||
interface Book {
|
||||
author: string
|
||||
title: string
|
||||
description: string
|
||||
format: string
|
||||
img: string
|
||||
}
|
||||
|
||||
const books: Book[] = [];
|
||||
// autres pages:
|
||||
// http://www.mediatheque-de-briis-sous-forges.net/mediatheque-de-briis-sous-forges.net/opac/recherche/catalogue?node=0&value=0&page=2
|
||||
const page_max = 1927
|
||||
let page_max = 1927
|
||||
// page_max = 4
|
||||
|
||||
const getTables = (html: string): any => {
|
||||
const $ = cheerio.load(html);
|
||||
@ -71,31 +74,56 @@ const getHtml = async (hostname: string, path: string): Promise<string> =>
|
||||
|
||||
|
||||
function writeBookScrapping() {
|
||||
WriteFile('books.json', JSON.stringify(books, null , 2))
|
||||
WriteFile('books.json', JSON.stringify(books, null, 2))
|
||||
}
|
||||
|
||||
getHtml(url, fetching_path)
|
||||
.then(getTables)
|
||||
.then(
|
||||
(tables: any) => tables.each(
|
||||
(_: any, table: any) => {
|
||||
const $ = cheerio.load(table);
|
||||
// console.log('une table')
|
||||
// let author = $().find('a.notice').text();
|
||||
let text_description = $(table).find('td').eq(1).text();
|
||||
let boom = text_description.split('\n');
|
||||
let splitting = boom[1].split('/')
|
||||
let img_src = $(table).find('td img').attr('src');
|
||||
console.log(img_src);
|
||||
books.push({
|
||||
author: boom[0],
|
||||
title: splitting[0],
|
||||
description: splitting[1],
|
||||
img: img_src
|
||||
})
|
||||
// console.log(cheerio.load(table).html())
|
||||
}
|
||||
)
|
||||
|
||||
// loop on all pages
|
||||
|
||||
const scrapOnePage = (tables: any) => {
|
||||
tables.each(
|
||||
(_: any, table: any) => {
|
||||
const $ = cheerio.load(table);
|
||||
// console.log('une table')
|
||||
// let author = $().find('a.notice').text();
|
||||
let text_description = $(table).find('td').eq(1).text();
|
||||
let boom = text_description.split('\n');
|
||||
let splitting = boom[1].split('/')
|
||||
let format = splitting[0].split(':')
|
||||
let img_src = $(table).find('td img').attr('src');
|
||||
console.log(img_src);
|
||||
books.push({
|
||||
author: boom[0],
|
||||
title: splitting[0],
|
||||
description: splitting[1],
|
||||
format: format[1],
|
||||
img: img_src
|
||||
})
|
||||
// console.log(cheerio.load(table).html())
|
||||
}
|
||||
)
|
||||
.then(writeBookScrapping)
|
||||
.catch((error) => console.log(error));
|
||||
}
|
||||
|
||||
async function main() {
|
||||
|
||||
for (let page_counter = 1; page_counter <= page_max; page_counter++) {
|
||||
|
||||
fetching_path = "/mediatheque-de-briis-sous-forges.net/opac/recherche/catalogue?node=0&value=0&page=" + page_counter
|
||||
await getHtml(url, fetching_path)
|
||||
.then(getTables)
|
||||
.then(
|
||||
scrapOnePage
|
||||
)
|
||||
// .then(() => {
|
||||
// if (page_counter === page_max) {
|
||||
// }
|
||||
// })
|
||||
.catch((error) => console.log(error));
|
||||
|
||||
}
|
||||
writeBookScrapping()
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
|
||||
|
114063
scraping/output/books.json
114063
scraping/output/books.json
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user