A shell script for automating media ingest.
./gester.sh [SOURCE_DIR] [TARGET_DIR] [DATE_FORMAT]
Where:
SOURCE_DIRis the directory of the source media (such as theDCIMdirectory of a camera's SD card).TARGET_DIRis the directory in which you want to ingest media (wheregesterwill copy media files to).DATE_FORMATis the format of the subdirectories that will be created inside ofTARGET.YYYYfor the yearMMfor the monthDDfor the day
You can add the following line to your shell configuration (e.g. ~/.bashrc) to use gester anywhere:
alias gester="/path/to/gester.sh"./gester.sh /path/to/source /path/to/target YYYY-MM-DD./gester.sh /path/to/source /path/to/target YYYY/MM/./gester.sh /path/to/source /path/to/target YYYY
- Supports any media file that contains EXIF metadata that can be read by ExifTool
- Preserves
FileModifyDateEXIF tag - Configurable destination subdirectory formatting
- Checks for file parity after copying each file to ensure the copy was successful
- Skips files that already exist in the destination directory
- ExifTool: Application for reading, writing and editing meta information.