copyFiles
Synopsis
Copy or move files from the memory card to the hard-disk.
Prerequisites
None.
Configuration
- MEDIA
- Mount point of the memory card.
- ORIG_DIR
- Target directory for copy/move. Defaults to $TARGET_DIR/orig.
- IMG_PREFIX
- Prefix of the source images (lowercase. e.g. dsc_, img_).
- IMG_EXT
- Extension of the source images (lowercase. e.g. jpg, nef, crw).
- CP_CMD=cp|mv
- If empty or cp, files are copied. If the value is mv, the files are moved. If you are paranoid, you should never use CP_CMD=mv, unless you have a backup of your images on a second memory card.
- CP_LIMIT=0|number
- If unset or set to zero, all images are processed at the same time. Otherwise, at most number images are processed at once. This could be useful if you have limited amount of hard-disk space for all (intermediate) files at once. But setting this variable might also interrupt an image sequence.
Description
This is usually the first module to run. Use CP_CMD=mv at your own risk.