Skip to content

Commit

Permalink
CHG/FIX: configxml.html, syncdirs.html: Using file masks in the direc…
Browse files Browse the repository at this point in the history
…tory synchronization tool.
  • Loading branch information
Skif-off committed Sep 19, 2024
1 parent 0cc44c2 commit 234088f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
6 changes: 2 additions & 4 deletions doc/en/configxml.html
Original file line number Diff line number Diff line change
Expand Up @@ -508,10 +508,8 @@ <h2><a name="manualed">3. Options to change manually</a></h2>
<tr>
<td class="cmdcell"><div class="firstcolumnaleft">Attribute <i>Save</i><br><small>from &lt;SyncDirs&gt;&lt;FileMask&gt;</small></div></td>
<td class="hintcell">
Synchronize directories: by default, the program saves the last used file mask as the default mask for the next run of the synchronization tool (if it is not a search template),
to disable this behavior, we can replace <code>True</code> with <code>False</code><br>
<code>&lt;FileMask Save="False"&gt;</code><br>
and DC will suggest the value of &lt;FileMask&gt; every time by default ("*" by default, i.e. all files).
Synchronize directories: by default, Double Commander saves the last used file mask as the mask for the next run of the synchronization tool (if it is not a search template),
to disable this behavior, we can replace <code>True</code> with <code>False</code> (<code>&lt;FileMask Save="False"&gt;</code>) and specify our own <code>&lt;FileMask&gt;</code> value ("*" by default, i.e. all files).
</td>
</tr>

Expand Down
2 changes: 1 addition & 1 deletion doc/en/syncdirs.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2><a name="window">2. Directory synchronization tool window</a></h2>
<p class="figure"><img class="largeimage" title="Directory synchronization tool" alt="Directory synchronization tool" src="images/imgDC/syncdirs.png" width="742" height="446"></p>
<p>In the top of the window there are fields with the current directories of the left and right file panels. We can change them manually or by using the button to choose a directory.</p>
<p>Between them there is a field for filtering files by mask (symbol "*" means match any number of characters, symbol "?" means any one character). Files that do not match the mask will be ignored. We may put multiple file types here using a semicolon ";" without spaces between them. Also we can use search templates (<img title="Template..." alt="Template..." src="images/imgDC/btemplate.png" width="16" height="16">), including search with content plugins. The default value is "*" (all files).</p>
<p>Note: By default, Double Commander saves (regardless of the state of the <a href="configuration.html#ConfigDC">File mask history</a> option) the last used file mask as the default mask for the next run of the synchronization tool (if it is not a search template), see <a href="#asettings">Additional settings</a>.</p>
<p>The button with an arrow opens the list of the used file masks (keep in mind that Double Commander saves a general history of file masks for several tools: find files, directory synchronization, archive unpacking, commands for selecting a group of files). By default, Double Commander saves (regardless of the state of the <a href="configuration.html#ConfigDC">File mask history</a> option) the last used file mask as the default mask for the next run of the synchronization tool (if it is not a search template), see <a href="#asettings">Additional settings</a>.</p>
<p><span class="italic">Compare</span>&nbsp;&ndash; starts comparing the chosen directories. The progress of the compare operation is displayed in the status bar. If necessary, the operation can be interrupted with the <kbd>Esc</kbd> key.</p>
<p>Parameters:</p>
<ul>
Expand Down
6 changes: 2 additions & 4 deletions doc/ru/configxml.html
Original file line number Diff line number Diff line change
Expand Up @@ -506,10 +506,8 @@ <h2><a name="manualed">3. Параметры, изменяемые вручну
<tr>
<td class="cmdcell"><div class="firstcolumnaleft">Атрибут <i>Save</i><br><small>в &lt;SyncDirs&gt;&lt;FileMask&gt;</small></div></td>
<td class="hintcell">
Синхронизация каталогов: по умолчанию программа сохраняет последнюю использованную маску файлов как маску по умолчанию для следующего запуска инструмента синхронизации (если это не шаблон поиска),
чтобы запретить такое поведение, мы можем заменить <code>True</code> на <code>False</code><br>
<code>&lt;FileMask Save="False"&gt;</code><br>
и DC по умолчанию каждый раз будет предлагать значение &lt;FileMask&gt; (по умолчанию "*", т.е. все файлы).
Синхронизация каталогов: по умолчанию Double Commander сохраняет последнюю использованную маску файлов как маску для следующего запуска инструмента синхронизации (если это не шаблон поиска),
чтобы запретить такое поведение, мы можем заменить <code>True</code> на <code>False</code> (<code>&lt;FileMask Save="False"&gt;</code>) и указать своё значение <code>&lt;FileMask&gt;</code> (по умолчанию "*", т.е. все файлы).
</td>
</tr>

Expand Down
2 changes: 1 addition & 1 deletion doc/ru/syncdirs.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2><a name="window">2. Окно инструмента синхронизаци
<p class="figure"><img class="largeimage" title="Инструмент синхронизации каталогов" alt="Инструмент синхронизации каталогов" src="images/imgDC/syncdirs.png" width="742" height="446"></p>
<p>В верхней части окна расположены поля с текущими каталогами левой и правой файловых панелей. Мы можем изменить их вручную или с помощью кнопки выбора каталога.</p>
<p>Между ними расположено поле фильтра файлов по маске (звёздочка "*" обозначает любое количество символов, знак вопроса "?"&nbsp;&ndash; любой один символ). Файлы, которые не совпадают с маской, будут проигнорированы. Если типов файлов несколько, то они перечисляются через точку с запятой ";" без пробелов. Также мы можем использовать шаблоны поиска (<img title="Шаблон..." alt="Шаблон..." src="images/imgDC/btemplate.png" width="16" height="16">), в том числе поиска с информационными (контентными) плагинами. Значение по умолчанию "*" (все файлы).</p>
<p>Примечание: По умолчанию Double Commander сохраняет (независимо от состояния опции <a href="configuration.html#ConfigDC">Историю масок файлов</a>) последнюю использованную маску файлов как маску по умолчанию для следующего запуска инструмента синхронизации (если это не шаблон поиска), смотрите <a href="#asettings">Дополнительные настройки</a>.</p>
<p>Кнопка со стрелкой вниз открывает список использованых масок файлов (имейте в виду, что Double Commander сохраняет общую историю масок файлов для нескольких инструментов: поиск файлов, синхронизация каталогов, распаковка архивов, команды выделения групп файлов). По умолчанию Double Commander сохраняет (независимо от состояния опции <a href="configuration.html#ConfigDC">Историю масок файлов</a>) последнюю использованную маску файлов как маску по умолчанию для следующего запуска инструмента синхронизации (если это не шаблон поиска), смотрите <a href="#asettings">Дополнительные настройки</a>.</p>
<p><span class="italic">Сравнить</span>&nbsp;&ndash; начинает сравнение выбранных каталогов. Прогресс операции сравнения отображается в строке состояния. Если это необходимо, операцию можно прервать клавишей <kbd>Esc</kbd>.</p>
<p>Параметры:</p>
<ul>
Expand Down

0 comments on commit 234088f

Please sign in to comment.