Bug 40453 - Не работают переменные для вставки текущей даты для указания каталога target_dir.
Summary: Не работают переменные для вставки текущей даты для указания каталога target_...
Status: NEW
Alias: None
Product: Branch p9
Classification: Distributions
Component: motion (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: Leontiy Volodin
QA Contact: qa-p9@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-11 21:00 MSK by Maxim
Modified: 2021-07-12 14:46 MSK (History)
0 users

See Also:


Attachments
Вид созданных каталогов с % вместо даты. (436.20 KB, image/png)
2021-07-11 21:00 MSK, Maxim
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim 2021-07-11 21:00:11 MSK
Created attachment 9498 [details]
Вид созданных каталогов с % вместо даты.

Здравствуйте!

Не работают переменные для вставки текущей даты для указания каталога target_dir.
При указании переменной с %, она так и создается в названии каталога. Даты не создаются.

############################################################
# Target Directories and filenames For Images And Films
# For the options snapshot_, picture_, movie_ and timelapse_filename
# you can use conversion specifiers
# %Y = year, %m = month, %d = date,
# %H = hour, %M = minute, %S = second,
# %v = event, %q = frame number, %t = camera id number,
# %D = changed pixels, %N = noise level,
# %i and %J = width and height of motion area,
# %K and %L = X and Y coordinates of motion center
# %C = value defined by text_event
# Quotation marks round string are allowed.
############################################################

# Target base directory for pictures and films
# Recommended to use absolute path. (Default: current working directory)

target_dir /home/motion/%m-%d-%Y/