Switch -N<file> - additionally filter included files


Apply the mask as an additional filter to included file list. Wildcards may be used both in the name and file parts of file mask. You may specify the switch '-n' several times. This switch does not replace usual file masks, which still need to be entered in the command line. It is an additional filter limiting processed files only to those matching the include mask specified in -n switch. It can help to reduce the command line length sometimes.

For example, if you need to compress all *.txt and *.lst files in folders Project and Info, you can enter:

WinRAR a -r text Project\*.txt Project\*.lst Info\*.txt Info\*.lst

or using the switch -n:

WinRAR a -r -n*.txt -n*.lst text Project Info




Posted on line by http://www.winrar-france.com