- Type: String
- Range / Valid values: Max 4095 characters
- Default: Not defined = current working directory
- Group: Output - General
The full path for the target directory for picture and movie files to be saved., The full path for the target directory for picture and movie files to be saved.
This is the target directory for all snapshots, images files and movie files. You will normally always want to specify this parameter as an absolute path.
Note that the options snapshot_filename, picture_filename, movie_filename, and timelapse_filename all allows specifying directories. These will all be relative to 'target_dir'. This means in principle that you can specify target_dir as '/' and be 100% flexible. It also means that Motion can write files all over your harddisk if you make a mistake. It is recommended to specify the target_dir as deep or detailed as possible for this reason.