Changes between Initial Version and Version 1 of doc/filePanels/dialogs/fileManipulation


Ignore:
Timestamp:
08/26/09 07:07:22 (15 years ago)
Author:
slavazanko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/filePanels/dialogs/fileManipulation

    v1 v1  
     1 
     2== Rules for target masks == 
     3 
     4For more flexible manupulations with files you may use rules for target masks: 
     5 
     6 * \1..\9 transform into groups; 
     7 * $!{1}..$!{64} like previous; 
     8 * \0 и $!{0} transform into full source filename. 
     9 
     10Symbol '\' used for escaping other special symbols. For example, '\\' mean backslash (\) and '\*' mean just asterisk (*). 
     11 
     12=== Examples === 
     13 
     14For all examples we use example files: 
     15{{{ 
     16bar.tar.gz 
     17foo.tar.bz2 
     18some_file1.gz 
     19some_file2.bz2 
     20}}} 
     21 
     22==== Example 1 ==== 
     23 * 'Source mask:' is {{{*.tar.*}}} 
     24 * 'To:' is {{{\1.t\2}}} 
     25 
     26Result: 
     27{{{ 
     28bar.tgz 
     29foo.tbz2 
     30some_file1.gz 
     31some_file2.bz2 
     32}}} 
     33 
     34==== Example 2 ==== 
     35 * 'Source mask:' is {{{?*}}} 
     36 * 'To:' is {{{\1__\1\2}}} 
     37 
     38Result: 
     39{{{ 
     40b__bar.tar.gz 
     41f__foo.tar.bz2 
     42s__some_file1.gz 
     43s__some_file2.bz2 
     44}}} 
     45