From 641b81843274b28383031da1fee800d140bd36c4 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 2 Apr 2014 21:48:47 +0200 Subject: [PATCH] Adds a note in the documentation about using %D %L options. --- snapraid.1 | 6 ++++-- snapraid.d | 6 ++++-- snapraid.txt | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/snapraid.1 b/snapraid.1 index aa114f32..f8601049 100644 --- a/snapraid.1 +++ b/snapraid.1 @@ -826,9 +826,11 @@ When checking and fixing this allows to keep separated the possible huge list of errors from the human readable output. If the specified path starts with \'>>\' the file is opened -in append mode. Occurrences of %D and %T in the name are +in append mode. Occurrences of \'%D\' and \'%T\' in the name are replaced with the date and time in the format YYYYMMDD and -HHMMSS. +HHMMSS. Note that likely you have to use \[dq] around the name +containing these special chars to avoid to have them +interpreted by the command shell, like \[dq]>>test\-%D.log\[dq]. .TP .B \-s, \-\-start BLKSTART Starts the processing from the specified diff --git a/snapraid.d b/snapraid.d index bee54781..c8114ae9 100644 --- a/snapraid.d +++ b/snapraid.d @@ -592,9 +592,11 @@ Options the possible huge list of errors from the human readable output. If the specified path starts with '>>' the file is opened - in append mode. Occurrences of %D and %T in the name are + in append mode. Occurrences of '%D' and '%T' in the name are replaced with the date and time in the format YYYYMMDD and - HHMMSS. + HHMMSS. Note that likely you have to use " around the name + containing these special chars to avoid to have them + interpreted by the command shell, like ">>test-%D.log". -s, --start BLKSTART Starts the processing from the specified diff --git a/snapraid.txt b/snapraid.txt index 615135af..e3070779 100644 --- a/snapraid.txt +++ b/snapraid.txt @@ -637,9 +637,11 @@ SnapRAID provides the following options: the possible huge list of errors from the human readable output. If the specified path starts with '>>' the file is opened - in append mode. Occurrences of %D and %T in the name are + in append mode. Occurrences of '%D' and '%T' in the name are replaced with the date and time in the format YYYYMMDD and - HHMMSS. + HHMMSS. Note that likely you have to use " around the name + containing these special chars to avoid to have them + interpreted by the command shell, like ">>test-%D.log". -s, --start BLKSTART Starts the processing from the specified