target_dir

  • Type: String
  • Range / Valid values: Max 4095 characters
  • Default: Not defined = current working directory
  • Option Topic

Target directory for picture and movie files.

This is the target directory for all snapshots, images files and movie files. The default is the current working directory (current working directory of the terminal from which motion was started). You will normally always want to specify this parameter as an absolute path.

Note that the options snapshot_filename, jpeg_filename, ffmpeg_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.

Comments


ConfigOptionForm edit

Option target_dir
Type String
Range Max 4095 characters
Default Not defined = current working directory
Description Target directory for picture and movie files.
Group Target Directories and Filenames
Topic revision: r4 - 16 Apr 2005 - 01:28:45 - KennethLavrsen
 
Motion - Config Option Target Dir
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.