Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@@ -25,7 +25,7 @@ DRY_RUN=0 |
||
| 25 | 25 |
VERBOSE=0 |
| 26 | 26 |
CLEANUP_EMPTY_DIRS=1 |
| 27 | 27 |
CLEANUP_MEDIA_SIDECARS=1 # when 1, delete device sidecars (GoPro THM/LRV, Garmin GLV) after successful import |
| 28 |
-SYNC_GPS=0 # when 1, embed first GPS fix from GPMF stream into destination file EXIF |
|
| 28 |
+SYNC_GPS=1 # when 1, embed first GPS fix from GPMF stream into destination file EXIF |
|
| 29 | 29 |
CONFLICT_APPLY_ALL="" # suffix|skip after an interactive "all similar" choice |
| 30 | 30 |
RESOLVED_DESTINATION_PATH="" |
| 31 | 31 |
RESERVED_DESTINATION_PATHS=() |
@@ -114,7 +114,7 @@ Options: |
||
| 114 | 114 |
--unattended Never prompt; resolve destination conflicts with numeric suffixes |
| 115 | 115 |
--collect-unsortable Put files without dates into DEST/unsortable |
| 116 | 116 |
--keep-sidecars Keep device sidecar files (default: delete after import) |
| 117 |
- --sync-gps Embed first valid GPS fix from GPMF stream into destination EXIF |
|
| 117 |
+ --no-sync-gps Skip GPS embedding (default: enabled for video files with GPMF) |
|
| 118 | 118 |
--keep-empty-dirs Keep empty directories after processing |
| 119 | 119 |
--dry-run Show actions without changing files |
| 120 | 120 |
-v, --verbose Verbose output |
@@ -1561,8 +1561,8 @@ while [[ $# -gt 0 ]]; do |
||
| 1561 | 1561 |
CLEANUP_MEDIA_SIDECARS=0 |
| 1562 | 1562 |
shift |
| 1563 | 1563 |
;; |
| 1564 |
- --sync-gps) |
|
| 1565 |
- SYNC_GPS=1 |
|
| 1564 |
+ --no-sync-gps) |
|
| 1565 |
+ SYNC_GPS=0 |
|
| 1566 | 1566 |
shift |
| 1567 | 1567 |
;; |
| 1568 | 1568 |
--dry-run) |
@@ -1650,7 +1650,7 @@ echo " Verify mode: $VERIFY_MODE" |
||
| 1650 | 1650 |
echo " Date source: $DATE_SOURCE" |
| 1651 | 1651 |
echo " Sync metadata: $([ $SYNC_METADATA -eq 1 ] && echo "Yes" || echo "No")" |
| 1652 | 1652 |
echo " QuickTime UTC: $([ $QUICKTIME_UTC -eq 1 ] && echo "Yes" || echo "No (local time assumed)")" |
| 1653 |
-echo " Sync GPS: $([ $SYNC_GPS -eq 1 ] && echo "Yes" || echo "No")" |
|
| 1653 |
+echo " Sync GPS: $([ $SYNC_GPS -eq 1 ] && echo "Yes" || echo "No (--no-sync-gps)")" |
|
| 1654 | 1654 |
echo " Unattended: $([ $UNATTENDED -eq 1 ] && echo "Yes" || echo "No")" |
| 1655 | 1655 |
echo " Dry run: $([ $DRY_RUN -eq 1 ] && echo "Yes" || echo "No")" |
| 1656 | 1656 |
echo " Keep empty dirs: $([ $CLEANUP_EMPTY_DIRS -eq 0 ] && echo "Yes" || echo "No")" |