MkDir Plugin 1.30, multiple directories creation in one call.
Copyright (C) 1999-2000 by Igor Grabelnikov

[If you don't understand Russian, please see the English readme below]


 ᪮쪨 ४਩, Version 1.30,   Far Manager.


1. 祭

   ᮧ  맮 ࠧ ᪮쪮 ४਩.
 ⮬  ४਩  ᯨ᪥  ࠧ ᨬ ';'.
⨬ ⠪ ᯮ짮  ᫮ 蠡, ᠭ .


2. 

  樨  ४਩  ᮤঠ ᫥騥 :
塞 , ᫥, .  蠡  ᮧ
⠪ 楯窨  ᪮쪨  ४਩.

ਬ砭:  室  ⬥ ᯥ樠쭮 ⢨ 㦥
ᨬ 蠡, 稢  ४ਨ   窨.


2.1. 塞 

 ⥪, ᯮ  䨣 ᪮, ⠥ 塞
  ७  㥬  ४ਨ  .


2.2. ᫥

 蠡  ᯮ짮   ᪮쪮 ᫥ - 筥
ࠣ⮢ , ࠧ塞 窮  ⮩  祭  䨣
᪮.  樨  ४਩ ந ᫥⥫쭠
⠭  㪠 ࠣ⮢.  砥 ᯮ짮 ᪮쪨
᫥ ந室 ६    祭.
 ᫥ ⨬.

ਬ ᫥:
---------------------
{1;2;3}
{Beta;Release}

ਬ 蠡, ᮤঠ  塞 ,  ᫥:
------------------------------------------------------------------
DISK{1;2;3}.DSK
     - ᮧ ४ਨ DISK1.DSK, DISK2.DSK  DISK3.DSK.
{Beta;Release}\{Disk1;Disk2;Disk3}
     - ᮧ ४ਨ Beta  Release,     ᮧ
       ४ਨ Disk1, Disk2  Disk3.


2.3. 

 蠡  ᫥    祭, 㪠
࠭ 祭, ࠧ  '-'.  ⮣, ⮡ ⬥
ᯥ樠쭮 祭 , ᯮ  '\-'.

ᯮ   ⨯:
 -  ᫠ (᫨ ᯮ짮 ⮫쪮   0  9);
 - ⭠ ᫠ (ᯮ짮   0  9  㪢  A  F);
 - ᨬ ( ⢥ ࠭筮 祭    ᨬ).

 ᫮   ࢮ    쭠
ਭ 㥬 ᫮ ,   室 㥬 ᫮
 騬 ﬨ.  ࠧ,  ᯮ짮 樨
 {001-1000}  樨  ४਩ "001", "002" ... "999", "1000".

 ⭠  ॣ ᯮ짮 㪢 (a-f  A-F)
।  ॣ ⭠  㥬 .

ਬ ᫥  :
-----------------------------------
{1-5}
{1-10}
{01-10}
{1-5;9;12;15-20}
{1-1FF}
{00-ff}
{a-z}
{A-Z;a-z}
{Beta;Release}\Disk{1-20}

ਬ砭:  ⥫   蠡  ⢥묨
᫥ﬨ  , ⠪  訡  ਢ  樨
஬ ⢠ ४਩.


3. ⠫

  䠩 ⠢  ४ FAR\Plugins\MkDir  १
Far.   F11  롥   㭪 "MkDir Plugin" ( ᪮
ᨨ - 㭪 " ").      ᮬ  F7
(. 䠩 F7.reg, 室騩   ⠢).


 ⠪⮢  ஬:  ࠡ쭨,
Netmail: 2:5063/3@fidonet,
E-mail: igg@iname.com

----------------------------------------------------------------------

[English readme here]


Multiple directories creation, Version 1.30, plugin for Far Manager.


1. About

This command allows to create multiple directories in one call. Directory
names in the list separated with ';'. It is possible to specify more complex
templates also, described below.


2. Templates

Templates can contain fixed part, list, range. Template can also create
chains of subdirectories, if backslash ('\') used.

Note: It is possible to disable special meaning of reserved characters by
enclosing directory name in double quotes.


2.1. Fixed part

Any text not enclosed in curly brackets '{' and '}' is a fixed part. Fixed
part will be copied into generated directory name without changes.


2.2. List

One or more lists can be used in templates. 'List' here is the list of
directory name parts, delimited with ';' and enclosed in '{' and '}'.
Each name part from a list will be substituted in the position of the list
in template. You may use as many lists, as you need, every list should be
in its own brackets, however no nested brackets allowed.

Examples of lists:
------------------
{1;2;3}
{Beta;Release}

Examples of templates with both fixed part and list:
----------------------------------------------------
DISK{1;2;3}.DSK
     - create directories DISK1.DSK, DISK2.DSK and DISK3.DSK.
{Beta;Release}\Disk{1;2;3}
     - create directories Beta  Release, each of them will contain
       subdirectories Disk1, Disk2 and Disk3.


2.3. Range

You can also use lists with ranges. A range consists of two limit values,
separated by '-'. You can disable the special meaning of '-' using the
backslash escape sequence: '\-'.

Three range types supported:
 - decimal numbers (if only digits 0..9 used);
 - hexadecimal numbers (if only digits 0..9 and letters A..F used);
 - character (if every limit value is a single character).

Numeric ranges support formatting to field width based on the first limit
value. Every generated number is padded with '0' to this width. So it
is possible to use ranges like {001-1000} to produce directory names
"001", "002" ... "999", "1000".

For hexadecimal ranges capitalization (a-f or A-F) in generated names depends
of letters used in a range limit values.

Examples of lists with ranges:
------------------------------
{1-5}
{1-10}
{01-10}
{1-5;9;12;15-20}
{1-1FF}
{00-ff}
{a-z}
{A-Z;a-z}
{Beta;Release}\Disk{1-20}

Note: please use caution using complex templates. You could produce many
directories in case of an error in template.


3. Installation

Copy all plugin files into the subdirectory FAR\Plugins\MkDir\ and restart
Far. Press the F11 key and select "MkDir Plugin". You can also assign a
macro on the F7 key (see file F7.reg).


Contact author: Igor Grabelnikov,
Netmail: 2:5063/3@fidonet,
E-mail: igg@iname.com
