Shell scripts to batch process images
Adds a timestamp of when the image was created to the bottom right corner. Applied in batch to all images in directory.
- Place this add_timestamp.sh file in the same folder as images and run:
chmod +x add_timestamp.sh
./add_timestamp.sh
-d, --delete: Delete original files after successful timestamping-b, --before DATE: Skip images with timestamps on or after DATE (format: DD-MM-YYYY)-h, --help: Show help message
# Process images, keep originals
./add_timestamp.sh
# Process images, delete originals after success
./add_timestamp.sh -d
# Skip images on or after June 15, 2023
./add_timestamp.sh -b 15-06-2023
# Delete originals and skip images on or after January 1, 2024
./add_timestamp.sh -d -b 01-01-2024Combines two images into one. Applied in batch to all images in directory (every 2 photos are combined).
- Place this combine_photos.sh file in the same folder as images and run:
chmod +x combine_photos.sh
./combine_photos.sh
Pass a number as argument. Example: combining 3 photos:
./combine_photos.sh 3
Script: bridge-scripts/CopyPasteCaptureTime.jsx
Install: Preferences > Startup Scripts > Reveal Scripts... then drop this file there, restart Bridge, enable it.
Adds:
- Tools > Copy Capture Time...
- Tools > Paste Capture Time
- Right-click (thumbnail) > Copy Capture Time...
- Right-click (thumbnail) > Paste Capture Time