diff --git a/doc/en/cmds.html b/doc/en/cmds.html index 7385ceba..4301fc67 100644 --- a/doc/en/cmds.html +++ b/doc/en/cmds.html @@ -1110,6 +1110,18 @@
GETFILEOWNER – displays the owner of the file.
GETFILELINKTO – displays the path and file, that is, what is linked with this symlink.
GETFILETYPE – file type (as in Windows Explorer or MIME-type).
GETFILECOMMENT – file or directory description (comment) from descript.ion (see details here).
GETFILECOMMENT – file or directory description (comment) from descript.ion (see details here). This field can also be used inside archives (if the archive format supports saving file descriptions and the corresponding external archiver is configured to receive them).
GETFILECOMPRESSEDSIZE – compressed file size (real size if using NTFS compression).
Move – allows to move lines (which equates to reordering the columns). Click twice in the Move box and you will see a type of spinner appear, clicking on the upper part moves the line up (column moves left).
@@ -868,8 +868,8 @@Command line history – Commands that were used at the command line.
File mask history – Double Commander saves a general history of used file masks for several tools: find files, filters in directory synchronization and archive unpacking, commands for selecting and deselecting a group of files.
The maximum number of entries in history is limited to 50.
-Note about the history of visited directories: During the session, Double Commander stores up to 255 visited directories in memory (however, when the program is closed, only the last 50 entries will be saved). You can change the number of history entries in the popup menu when calling the cm_DirHistory command (default value is 30, see the Count
attribute in the <DirHistory> tag), but when using the Tree View Menu, all available history will be shown.
The maximum number of entries in history is limited to 50 by default (see the MaxStringItems
attribute in the <History> tag).
Note about the history of visited directories: During the session, Double Commander stores up to 255 visited directories in memory, however, when the program is closed, the number of saved entries will be limited to the MaxStringItems
value. You can change the number of history entries in the popup menu when calling the cm_DirHistory command (default value is 30, see the Count
attribute in the <DirHistory> tag), but when using the Tree View Menu, all available history will be shown.
Note: Search templates are not related to the history and are saved separately (in the doublecmd.xml configuration file). To manage the list of templates, you can use the file search tool.
You can choose how the list of settings sections will look:
"View" actions with the {!DC-VIEWER} macro will be taken into account for quick viewing, other macros and commands will be ignored.
{!TERMSTAYOPEN} and {!TERMANDCLOSE} have been added for unification and the ability to use the variables %t0 and %t1, {!SHELL} has been kept for backwards compatibility.
-As a command, you can use the internal commands of Double Commander. The parameters of the internal commands are specified one per line, so you can specify only one here. Also, using the internal command cm_ExecuteScript, you can run Lua scripts, in this case you can get the names of the selected files using cm_CopyFullNamesToClip or cm_SaveSelectionToFile.
+As a command, you can use the internal commands of Double Commander. The parameters of the internal commands are specified one per line, so you can specify only one here. Also, using the internal command cm_ExecuteScript, you can run Lua scripts, in this case you can get the names of the selected files using internal commands (cm_CopyFullNamesToClip or cm_SaveSelectionToFile) or the DC.ExpandVar(Alpha version) function.
Parameters – command parameters including variables:
any variable from "percent" variables.
<Sounds>
tag in full:+<Sounds Duration="10"> + <Copy>C:\Windows\Media\Alarm01.wav</Copy> + <Move>C:\Windows\Media\Alarm01.wav</Move> + <Wipe>C:\Windows\Media\Alarm01.wav</Wipe> + <Delete>C:\Windows\Media\Alarm01.wav</Delete> + <Split>C:\Windows\Media\Alarm01.wav</Split> + <Combine>C:\Windows\Media\Alarm01.wav</Combine> +</Sounds>+
Duration
is the minimum time (in seconds) that a file operation should last (0 – always on, -1 disables sound notifications).MaxStringItems
attribute allows to specify the maximum number of entries in the saved history. Default value is 50.
Attribute Count (<DirHistory>)
+ Attribute MaxStringItems (<History>)
Attribute Save (<Asymmetric>)
Attribute Save (<FileMask>)
ActiveRight
@@ -644,18 +672,19 @@
- MaxCodeSize
MaxTextWidth
Mode
NtfsHourTimeDelay
Quality
RenameConfirmMouse
ShowColonAfterDrive
+ Sounds
SynEditMask
SystemItemProperties
TabSpaces
diff --git a/doc/en/copymove.html b/doc/en/copymove.html
index d2ef8758..dfd57ede 100644
--- a/doc/en/copymove.html
+++ b/doc/en/copymove.html
@@ -57,7 +57,7 @@
The list of the following parameters will vary depending on the type of file operation and operating system family.
Verify – If enabled, Double Commander will compare the source file and the copied file in the target directory: a byte-by-byte comparison (Windows) or BLAKE2 checksums (Linux and others). Double Commander will try to minimize the disk cache effects (if the file system does not support direct input/output, the program will report the verification failure). Keep in mind, this function significantly reduces the speed of the operation. Not available in macOS.
Verify – If enabled, Double Commander will compare the source file and the copied file in the target directory: a byte-by-byte comparison (Windows) or BLAKE2 checksums (Linux and others). Double Commander will try to minimize the disk cache effects (if the file system does not support direct input/output, the program will report the verification failure). Keep in mind, this function significantly reduces the speed of the operation. In macOS, this feature is available experimentally.(Alpha version)
Check free space – Before copying the file, Double Commander will check if there is enough free disk space in the target directory.
Reserve space – If enabled, Double Commander will use pre-allocation of disk space, this will reduce the chances of file fragmentation. Also this is a faster way to create files. In Windows, Double Commander always reserves space. Does not work in Linux on partitions with FAT32 file system.
Follow links – If enabled, Double Commander will consider symbolic links to folders as regular folders and copy their contents; instead of file links, the target files of this links will be copied. The indeterminate checkbox state (three-state): the program will ask each time what it should do.
First, packages gvfs, gvfs-backends and gvfs-fuse should be installed. Keep in mind that some distributions have not packages gvfs-backends and gvfs-fuse, because they are part of package gvfs, or it can be several packages with names gvfs-backends-* or gvfs-*.
-Now insert GVfs path in the address bar: click by right mouse button at address bar to edit it (or call internal command cm_EditPath).
+Now insert GVfs path in the address bar: click by right mouse button at address bar to edit it (or call internal command cm_EditPath). Alternatively, you can use the internal command cm_MapNetworkDrive.(Alpha version)
For example, access to
ftp://ftpuser@ftpserver
Create Directory (internal command cm_MakeDir) – creates a new subdirectory in the current directory. The file name (without extension) or directory name under the cursor will be offered, this is useful for creating multiple directories with similar names. You can also create several subdirectories in one operation, just separate the subdrectories with the directory separator (in Unix/Linux system it will be "/" and in Windows it will be "\").
The button with an arrow opens the history of the entered names. The button to the right of the input field allows to enable or disable auto-completion from the directory creation history.(Alpha version)
If Extended syntax is enabled, the <[]
template can be used to insert the current date/time: inside square brackets you can use date and time formatting characters and any characters allowed for filenames.
Create Shortcut (Windows only) – Double Commander creates a shortcut (Microsoft Windows .lnk file) to the file under the cursor and places it in the folder opened in the opposite panel.
@@ -182,7 +183,7 @@The action of the Configure button depends on the selected archiver:
packer plugins (WCX): opens the plugin's own settings window (if selected plugin supports this feature);
external archivers: opens a window with an input field for additional archiver parameters (when using the %S variable).
external archivers: opens a window with an input field for additional archiver parameters (when using the %S variable). Double Commander automatically saves the entered parameter string, the button with an arrow will open the list of previously saved ones (see description of AskHistory).(Alpha version)
Also we can unpack files via Extract Files (internal command cm_ExtractFiles). The same dialog is called when you copy files from the archive.
Item Calculate check sum... (internal command cm_CheckSumCalc) is used to calculate the checksum to check files integrity. The following checksums are available: BLAKE2 (BLAKE2s, BLAKE2sp, BLAKE2b, BLAKE2bp), BLAKE3, CRC32, HAVAL, MD4, MD5, RIPEMD128, RIPEMD160, SFV, SHA, - SHA2 (digest sizes 224, 256, 384 or 512 bits), SHA3 (digest sizes 224, 256, 384 or 512 bits), Tiger/192.
+ SHA2 (digest sizes 224, 256, 384 or 512 bits), SHA3 (digest sizes 224, 256, 384 or 512 bits), Tiger/192, + XXH128(Alpha version) (XXH3 with 128 bit digest size).Save checksum file(s) to: – line specifies name and path to the calculated checksum.
Create separate checksum files for each file – if checksum calculates for multiple files, this option allows to create separate checksum files for each target file.
+Create separate checksum file for each directory(Alpha version) – Double Commander will scan the selected folders or the folder under the cursor and create separate checksum files in each subdirectory. The program will not take into account the ignore list and the status of the Show system and hidden files option.
Open checksum file after job is completed – after the operation is completed, the checksum file will be opened in the file viewer.
File format – allows to specify the line ending type and directory separator instead of the commonly used values in Windows (CRLF and "\") and Unix-like systems (LF and "/").
@@ -567,6 +570,7 @@Double Commander allows to rename files directly in the file panel. There are several ways to call this operation: the internal command cm_RenameOnly (F2 or Shift+F6 by default), the left mouse click or the corresponding item in the right mouse button menu.
By default, Double Commander will select the file name completely, but you can enable file name selecting without an extension. Also, repeated hotkey presses allow to select the file name in parts, the following characters are used as a separator: space, hyphen underscore and period. Folder names are always selected completely.
To confirm the change in the name, use the Enter key or the rename confirmation button to the right of the edit field. To cancel unconfirmed changes (to exit editing mode), use the Esc key or the mouse click outside the edit field. You can use a mouse click outside the edit field to confirm the renaming (as in Windows Explorer), see the description of <RenameConfirmMouse>.
+Using the up and down arrows, you can rename several files sequentially: the new file name will be automatically saved when you go to edit the name of the next or previous file. To exit this mode, use the methods described above to confirm or cancel the operation.(Alpha version)
For group renaming files, the appropriate tool is available.
We may provide as many Param... as command may support.
DC.GoToFile(sFileName, bActive)
+Opens the directory where sFileName is located and places the cursor on sFileName. To open a directory, use cm_ChangeDir or try to add the directory separator and ".." (without quotes) to sFileName.
+bActive is an optional parameter: function can work in the active file panel (true
) or inactive one (false
). true
by default.
Result = DC.GetPluginField(sFileName, sPlugin, iField, iUnit)
+Allows to get data using the installed content plugin (WDX):
+nil
.sResult = DC.ExpandVar(String)
+Returns a string in which all variables are replaced with their values (excluding environment variables, use SysUtils.ExpandEnv for them).
+In addition to internal commands, in scripts we can use the special command cm_ExecuteToolBarItem, this command allows to call toolbar buttons by their identifier (in the program, this function provides the use of hotkeys for toolbar buttons). The command is used similarly to ordinary internal commands (see examples below) and has the following parameters:
SysUtils.RemoveDirectory(Alpha version) |
+
+ bResult = SysUtils.RemoveDirectory(sDirectory) +Will delete the directory with the name sDirectory. Returns Unlike os.remove, this function does not return a description in case of an error, but it can delete non-empty directories. + |
+ ||||||||||||||||||||||
@@ -480,6 +517,14 @@ 3.2. System librarysSeparator and iMaskOptions (see above) are optional parameters. |
|||||||||||||||||||||||
SysUtils.ExpandEnv(Alpha version) |
+
+ sResult = SysUtils.ExpandEnv(String, bSpecial) +Returns a string in which all environment variables are replaced with their values for the current user. +bSpecial is an optional parameter: if |
+ ||||||||||||||||||||||
@@ -487,6 +532,35 @@ 3.2. System libraryWill return a filename to use as a temporary filename (in the system directory for the temporary files), similar to the os.tmpname function, but the file will be created in a subdirectory that is automatically deleted when Double Commander is closed. |
|||||||||||||||||||||||
SysUtils.GetFileProperty(Alpha version) |
+
+ Result = SysUtils.GetFileProperty(sFileName, iValue) +Returns the file property corresponding to iValue: +
Returns a number (file size, timestamps) or a string (in other cases). In case of failure, function returns |
+ ||||||||||||||||||||||
SysUtils.FileSetTime(Alpha version) |
+
+ bResult = SysUtils.FileSetTime(sFileName, iModification, iCreation, iLastAccess) +Allows to set timestamps (Unix time format) for sFileName: modification date, creation date and last access date. Specify zero for those timestamps that should be ignored. +Returns |
+ ||||||||||||||||||||||
@@ -1265,6 +1339,9 @@ 4. Index
DC.CurrentPanel @@ -1274,6 +1351,7 @@ 4. IndexSysUtils.CreateHardLinkSysUtils.CreateSymbolicLink SysUtils.DirectoryExists + SysUtils.ExpandEnv SysUtils.ExtractFileDir SysUtils.ExtractFileDrive SysUtils.ExtractFileExt @@ -1281,10 +1359,12 @@ 4. IndexSysUtils.ExtractFilePathSysUtils.FileExists SysUtils.FileGetAttr + SysUtils.FileSetTime SysUtils.FindClose SysUtils.FindFirst SysUtils.FindNext SysUtils.GetAbsolutePath + SysUtils.GetFileProperty SysUtils.GetRelativePath SysUtils.GetTempName SysUtils.GetTickCount @@ -1292,6 +1372,7 @@ 4. IndexSysUtils.MatchesMaskListSysUtils.PathDelim SysUtils.ReadSymbolicLink + SysUtils.RemoveDirectory SysUtils.Sleep diff --git a/doc/en/multiarc.html b/doc/en/multiarc.html index 4816e89f..66f6b29f 100644 --- a/doc/en/multiarc.html +++ b/doc/en/multiarc.html @@ -51,7 +51,8 @@ Content3. Working with external archiversThis will be done by doing Configuration Options Archiver as illustrated below: -All settings are stored in the multiarc.ini file. Let's see in the following sections the versatile possibilities Double Commander offers us to properly integrate the usage of an external packer. @@ -135,7 +136,7 @@4.1. Adding a new external archiverWe then need to indicate us a significant description for the archiver, the exact location where is the executable of the archiver and then associated file extension, without the period, to that archiver. If we have more than one possible, just add them with a single comma between each one, no space. -Note: Double Commander supports double extensions (for example, "tar.gz", "tar.xz" and so on), they must be placed in the beginning of the list of extensions (i.e. "tar.gz" before "gz"). @@ -506,7 +507,33 @@4.13. Debugging
-
+
+ 4.14. Menu of the "Other" button+4.14. Additional settings+Several parameters that can be added or changed manually in the multiarc.ini configuration file directly or by exporting/importing archiver settings. ++ + AskHistory0 ... AskHistory50 +The values store additional archiver parameters that we have added in the file packaging dialog. We can manually change them, add new ones or delete unnecessary ones. +This is a convenient way to store several sets of parameters that are more suitable for different groups of files and tasks. ++ + FallBackArchivers +Allows to specify several executable files of archivers separated by commas (full file names or names without path). If the executable file from the "Archiver" field is not found, the application will use the first one found from the For an example, see using 7-Zip in multiarc.ini in the "default" folder. ++ + IgnoreString0 ... IgnoreString50 +This is a way to specify lines that Double Commander should ignore when parsing the archiver output. +If the value starts with the caret symbol ("^"), the text must be in the beginning of the ignored lines. Otherwise, the text can be located anywhere in the line. ++ + SizeStripChars +It's rare, but the archiver can display file sizes with digit grouping (for example, "12,345" or "12 345" instead of "12345"). If we need to specify several characters (for example, the value may depend on the regional settings of the operating system), they must be listed without a separator. + +
+ 4.15. Menu of the "Other" buttonThis menu contains several additional functions:
5. Opening an archive file in an associated applic
| |||||||||||||||||||||||
Ctrl+K |
+ Map network drive (see cm_MapNetworkDrive)(Alpha version) | +||||||||||||||||||||||
Ctrl+L |
Calculate occupied space (for selected items) | @@ -462,6 +466,11 @@alphanumeric keys |
The action depends on the settings | ||||||||||||||||||||
Up/down arrows |
+ 1. Renaming a file: sequential renaming of files.(Alpha version) + 2. In other cases: the usual step-by-step navigation up/down the list of files. |
+ ||||||||||||||||||||||
Left/right arrows← |
Go to upper directory or go to selected directory (if Lynx like movement enabled and only in the full mode). diff --git a/doc/en/syncdirs.html b/doc/en/syncdirs.html index 06d26730..78d23986 100644 --- a/doc/en/syncdirs.html +++ b/doc/en/syncdirs.html @@ -46,7 +46,7 @@ 2. Directory synchronization tool windowBetween 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 ( 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 File mask history 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 Additional settings. To exclude directories and symbolic links to directories, we can use the search template and the Exclude subdirectories field: we can specify folder names and relative or absolute paths. -Compare – 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 Esc key. +Compare – starts comparing the chosen directories. If necessary, the operation can be interrupted with the Esc key. Parameters:
1. IntroductionDouble Commander supports Windows Imaging Component (Windows Vista and newer): the Windows Imaging Component (WIC) provides an extensible framework for working with images. WIC includes several built-in codecs (BMP, DDS, GIF, ICO, JPEG, JPEG XR, PNG and TIFF), additionally available external codecs for free and proprietary RAW image formats, HEIF/HEIC, WebP. Double Commander will skip codecs for BMP, GIF, ICO, JPEG, PNG and TIFF, because these formats are already supported. The built-in viewer supports saving to the following image formats: BMP, ICO, JPEG (we can choose the quality from 1 to 100; 80 by default, see <JpegQuality>), PNG (Double Commander will use the same color depth as in the original image) and PNM (Double Commander will use binary formats, the color depth will be set automatically: 1, 8 or 24 bits per pixel). Note: When modifying an image, we must save all changes with the Save or Save As commands: Double Commander does not check the status of the file (changed or not) when closing the viewer window or when switching to another file. +For folders, the viewer will display the full name of the directory under the cursor, the number of subdirectories, files, and their total size (the result is similar to the action of the Calculate Occupied Space command).(Alpha version) We can assign or change hotkeys for commands available in the viewer in the Keys > Hot Keys settings section (switch to the Viewer category). Hotkeys can be set separately for text mode and image viewing mode. diff --git a/doc/ru/cmds.html b/doc/ru/cmds.html index a7f422e1..18f98abe 100644 --- a/doc/ru/cmds.html +++ b/doc/ru/cmds.html @@ -1108,6 +1108,18 @@2.6. Сеть |
Только Windows: копировать в буфер имена с UNC-путём. | |||||||||||||||||||||
![]() cm_MapNetworkDrive(Альфа-версия)
+ Ctrl+K |
+ Команда позволяет подключить сетевые устройства, поведение зависит от операционной системы:
+
|
+
GETFILEOWNER – владелец файла.
GETFILELINKTO – путь и файл, на который указывает символьная ссылка.
GETFILETYPE – тип файла (как в Проводнике Windows или MIME-тип).
GETFILECOMMENT – описание (комментарий) файла или каталога из файла descript.ion (подробнее смотрите здесь).
GETFILECOMMENT – описание (комментарий) файла или каталога из файла descript.ion (подробнее смотрите здесь). Это поле также можно использовать внутри архивов (если формат архивов поддерживает сохранение описания файлов и соответствующий внешний архиватор настроен на их получение).
GETFILECOMPRESSEDSIZE – размер сжатого файла (реальный размер, если используется сжатие NTFS).
Переместить – позволяет перемещать строки, для появления кнопок нужно дважды щёлкнуть мышью в поле. Чем выше строка, тем левее будет отображаться эта колонка.
@@ -868,8 +868,8 @@Историю командной строки – Команды, использованные в командной строке.
Историю масок файлов – Double Commander сохраняет общую историю использованных масок файлов для нескольких инструментов: поиск файлов, фильтры в синхронизации каталогов и распаковке архивов, команды выделения группы файлов и снятия выделения.
Максимальное количество записей в истории ограничено 50.
-Примечание об истории посещённых каталогов: В течении сессии Double Commander хранит в памяти до 255 посещённых каталогов (тем не менее при закрытии программы будут сохранены только последние 50 записей). Вы можете изменить количество записей истории во всплывающем меню при вызове команды cm_DirHistory (по умолчанию 30, смотрите атрибут Count
в теге <DirHistory>), однако при использовании древовидного меню будет показана вся доступная история.
Максимальное количество записей в истории по умолчанию ограничено 50 (смотрите атрибут MaxStringItems
в теге <History>).
Примечание об истории посещённых каталогов: В течении сессии Double Commander хранит в памяти до 255 посещённых каталогов, тем не менее при закрытии программы количество сохраняемых записей будет ограничено значением MaxStringItems
. Вы можете изменить количество записей истории во всплывающем меню при вызове команды cm_DirHistory (по умолчанию 30, смотрите атрибут Count
в теге <DirHistory>), однако при использовании древовидного меню будет показана вся доступная история.
Примечание: Шаблоны поиска не относятся к истории и сохраняются отдельно (в файле конфигурации doublecmd.xml). Для управления списком шаблонов вы можете использовать инструмент поиска файлов.
Вы можете выбрать, как будет выглядеть список разделов настроек:
Действия "View" с макросом {!DC-VIEWER} будут учитываться при быстром просмотре, другие макросы и команды будут проигнорированы.
{!TERMSTAYOPEN} и {!TERMANDCLOSE} были добавлены для унификации и возможности использовать переменные %t0 и %t1, {!SHELL} был сохранён для обеспечения обратной совместимости.
-В качестве команды можно использовать внутренние команды Double Commander. Параметры внутренних команд задаются по одному на строку, поэтому здесь вы можете указать только один. Также с помощью внутренней команды cm_ExecuteScript можно запускать скрипты Lua, в этом случае вы можете получить имена выделенных файлов с помощью cm_CopyFullNamesToClip или cm_SaveSelectionToFile.
+В качестве команды можно использовать внутренние команды Double Commander. Параметры внутренних команд задаются по одному на строку, поэтому здесь вы можете указать только один. Также с помощью внутренней команды cm_ExecuteScript можно запускать скрипты Lua, в этом случае вы можете получить имена выделенных файлов с помощью внутренних команд (cm_CopyFullNamesToClip или cm_SaveSelectionToFile) или функции DC.ExpandVar(Альфа-версия).
Параметры – параметры команды, включая переменные:
все доступные в параметрах DC переменные;
<Sounds>
полностью:+<Sounds Duration="10"> + <Copy>C:\Windows\Media\Alarm01.wav</Copy> + <Move>C:\Windows\Media\Alarm01.wav</Move> + <Wipe>C:\Windows\Media\Alarm01.wav</Wipe> + <Delete>C:\Windows\Media\Alarm01.wav</Delete> + <Split>C:\Windows\Media\Alarm01.wav</Split> + <Combine>C:\Windows\Media\Alarm01.wav</Combine> +</Sounds>+
Duration
– минимальное время (в секундах), которое должна продолжаться файловая операция (0 – включено всегда, -1 отключает звуковые уведомления).MaxStringItems
позволяет указать максимальное количество записей сохраняемой истории. По умолчанию 50.
Атрибут Count (<DirHistory>)
+ Атрибут MaxStringItems (<History>)
Атрибут Save (<Asymmetric>)
Атрибут Save (<FileMask>)
ActiveRight
@@ -642,18 +670,19 @@
- MaxCodeSize
MaxTextWidth
Mode
NtfsHourTimeDelay
Quality
RenameConfirmMouse
ShowColonAfterDrive
+ Sounds
SynEditMask
SystemItemProperties
TabSpaces
diff --git a/doc/ru/copymove.html b/doc/ru/copymove.html
index bfceb047..a06ffd53 100644
--- a/doc/ru/copymove.html
+++ b/doc/ru/copymove.html
@@ -57,7 +57,7 @@
Список следующих параметров будет различаться в зависимости от типа файловой операции и семейства операционных систем.
Проверить после завершения – Если отмечено, Double Commander сравнит исходный файл и скопированный файл в целевом каталоге: побайтовое сравнение (Windows) или контрольные суммы BLAKE2 (Linux и другие). Double Commander попытается свести к минимуму эффекты дискового кэша (если файловая система не поддерживает прямой ввод-вывод, программа сообщит о неудаче проверки). Имейте в виду, эта функция заметно снижает скорость операции. Недоступно в macOS.
Проверить после завершения – Если отмечено, Double Commander сравнит исходный файл и скопированный файл в целевом каталоге: побайтовое сравнение (Windows) или контрольные суммы BLAKE2 (Linux и другие). Double Commander попытается свести к минимуму эффекты дискового кэша (если файловая система не поддерживает прямой ввод-вывод, программа сообщит о неудаче проверки). Имейте в виду, эта функция заметно снижает скорость операции. В macOS эта функция доступна экспериментально.(Альфа-версия)
Проверять свободное место – Перед копированием файла Double Commander проверит, достаточно ли свободного места на диске в целевом каталоге.
Резервировать место – Если отмечено, Double Commander будет использовать предварительное выделение дискового пространства, это снизит вероятность фрагментации файла. Также это более быстрый способ создания файлов. В Windows Double Commander всегда резервирует место. Не работает в Linux на разделах с файловой системой FAT32.
Следовать ссылкам – Если отмечено, Double Commander будет считать символьные ссылки на папки обычными папками и копировать их содержимое; вместо ссылок на файл будут скопированы файлы, на которые они указывают. Неопределённое (третье) состояние флажка: программа будет каждый раз спрашивать, что она должна делать.
Во-первых, должны быть установлены пакеты gvfs, gvfs-backends и gvfs-fuse. Имейте в виду, что в некоторых дистрибутивах нет пакетов gvfs-backends и gvfs-fuse, потому что они часть пакета gvfs, или же может быть несколько пакетов с именами gvfs-backends-* или gvfs-*.
-Теперь вставьте путь GVfs в строку адреса: для редактирования щёлкните правой кнопкой мыши по панели текущего адреса (или вызовите внутреннюю команду cm_EditPath).
+Теперь вставьте путь GVfs в строку адреса: для редактирования щёлкните правой кнопкой мыши по панели текущего адреса (или вызовите внутреннюю команду cm_EditPath). В качестве альтернативы вы можете использовать внутреннюю команду cm_MapNetworkDrive.(Альфа-версия)
Например, доступ к
ftp://ftpuser@ftpserver
Создать каталог (команда cm_MakeDir) – создаёт новый подкаталог в текущем каталоге. Будет предложено имя файла (без расширения) или имя каталога под курсором, это удобно для создания нескольких каталогов с похожими именами. Также можно создавать несколько подкаталогов за одну операцию, просто отделите подкаталоги разделителем каталогов (в системах Unix/Linux это будет "/" и "\" в Windows).
Кнопка со стрелкой вниз открывает историю введённых имён. Кнопка справа от поля ввода позволяет включить или выключить автодополнение из истории создания каталогов.(Альфа-версия)
Если включен Расширенный синтаксис, для вставки текущей даты/времени может быть использован шаблон <[]
: внутри квадратных скобок можно использовать символы форматирования даты и времени, а также любые символы, допустимые для имён файлов.
Создать ярлык (только Windows) – Double Commander создаёт ярлык Microsoft Windows (LNK-файл) на файл под курсором и помещает в папку, открытую в противоположной панели.
@@ -182,7 +183,7 @@Действие кнопки Настроить зависит от выбранного архиватора:
архиваторные плагины (WCX): открывает собственное окно настроек плагина (если выбранный плагин поддерживает эту функцию);
внешние архиваторы: открывает окно с полем ввода для дополнительных параметров архиватора (при использовании переменной %S).
внешние архиваторы: открывает окно с полем ввода для дополнительных параметров архиватора (при использовании переменной %S). Double Commander автоматически сохраняет введённую строку параметров, кнопка со стрелкой откроет список сохранённых ранее (смотрите описание AskHistory).(Альфа-версия)
Обратное действие можно выполнить, воспользовавшись пунктом Распаковать (команда cm_ExtractFiles). Этот же диалог вызывается при копировании файлов из архива, если вы вошли в него как в каталог.
Пункт Посчитать контрольные суммы... (команда cm_CheckSumCalc) используется для подсчёта контрольных сумм файлов с целью проверки их целостности. Доступны следующие алгоритмы: BLAKE2 (BLAKE2s, BLAKE2sp, BLAKE2b, BLAKE2bp), BLAKE3, CRC32, HAVAL, MD4, MD5, RIPEMD128, RIPEMD160, SFV, SHA, - SHA2 (размер хеша 224, 256, 384 или 512 байт), SHA3 (размер хеша 224, 256, 384 или 512 байт), Tiger/192.
-Сохранить файл(ы) контрольных сумм как: – строка указывает, где и под каким именем будет сохранён файл, содержащий контрольную сумму.
Для каждого файла создать отдельный файл контрольной суммы – если сумма считается для нескольких выделенных файлов, то для каждого будет создан отдельный файл с контрольной суммой, иначе будет создан один общий, с контрольными суммами всех выделенных файлов.
+Для каждого каталога создать отдельный файл контрольной суммы(Альфа-версия) – Double Commander просканирует выделенные папки или папку под курсором и создаст отдельные файлы контрольной суммы в каждом подкаталоге. Программа не будет учитывать список исключений и состояние параметра Показывать системные и скрытые файлы.
Открыть файл контрольной суммы после расчёта – после завершения операции файл контрольной суммы будет открыт в программе просмотра файлов.
Формат файла – позволяет указать тип окончания строк и разделитель каталогов вместо обычно используемых значений в Windows (CRLF и "\") и Unix-подобных системах (LF и "/").
@@ -567,6 +570,7 @@Double Commander позволяет переименовывать файлы непосредственно в файловой панели. Доступно несколько способов вызова этой операции: внутренняя команда cm_RenameOnly (по умолчанию F2 или Shift+F6), щелчок левой клавиши мыши или соответствующий пункт в меню правой клавиши мыши.
По умолчанию Double Commander выделит имя файла полностью, но вы можете включить выделение имени файла без расширения. Также повторные нажатия горячей клавиши позволяют выделять имя файла по частям, в качестве разделителя используются следующие символы: пробел, дефис, нижнее подчёркивание и точка. Имена папок всегда выделяются полностью.
Для подтверждения изменения имени используйте клавишу Enter или кнопку подтверждения переименования справа от поля редактирования. Для отмены неподтверждённых изменений (для выхода из режима редактирования) используйте клавишу Esc или щелчок мыши вне поля редактирования. Вы можете использовать щелчок мыши вне поля редактирования для подтверждения переименования (как в Проводнике Windows), смотрите описание <RenameConfirmMouse>.
+С помощью стрелок вверх и вниз вы можете последовательно переименовать несколько файлов: новое имя файла будет автоматически сохранено при переходе к правке имени следующего или предыдущего файла. Для выхода из этого режима используйте описанные выше способы подтверждения или отмены операции.(Альфа-версия)
Для группового переименования файлов доступен соответствующий инструмент.
Мы можем подставить столько Param..., сколько поддерживает команда Command.
DC.GoToFile(sFileName, bActive)
+Открывает каталог, в котором расположен sFileName, и ставит на sFileName курсор. Чтобы открыть каталог, используйте cm_ChangeDir или попробуйте добавить к sFileName разделитель каталогов и ".." (без кавычек).
+bActive – это опциональный параметр: функция может работать в активной файловой панели (true
) или неактивной (false
). По умолчанию true
.
Result = DC.GetPluginField(sFileName, sPlugin, iField, iUnit)
+Позволяет получить данные с помощью установленного информационного (или контентного) плагина (WDX):
+nil
.sResult = DC.ExpandVar(String)
+Возвращает строку, в которой все переменные заменены на их значения (исключая переменные окружения, для них используйте SysUtils.ExpandEnv).
+Помимо внутренних команд, в скриптах мы можем использовать специальную команду cm_ExecuteToolBarItem, эта команда позволяет вызывать кнопки панелей инструментов по их идентификатору (в программе эта функция обеспечивает использование горячих клавиш для кнопок панелей инструментов). Команда используется аналогично обычным внутренним командам (смотрите примеры ниже) и имеет следующие параметры: