Motion - Config Option Target Dir

target_dir

  • 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.
Topic revision: r7 - 07 Aug 2016, KennethLavrsen
Copyright © 1999-2019 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.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.