From 114b1bca408db417b10cdb3c8abb321dea713563 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 5 Apr 2006 18:34:43 +0000 Subject: [PATCH] fixed bug #1448374 - Nonsensical behavior from File /r git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4627 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/basic.but | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Docs/src/basic.but b/Docs/src/basic.but index 803c2994..eabd884b 100644 --- a/Docs/src/basic.but +++ b/Docs/src/basic.but @@ -53,7 +53,7 @@ Adds file(s) to be extracted to the current output path ($OUTDIR). \b Wildcards are supported. -\b If the /r switch is used, matching files are recursively searched for in subdirectories. If a directory name matches, all of its contents is added recursively. Directory structure is preserved. +\b If the /r switch is used, matching files and directories are recursively searched for in subdirectories. If just one path segment is specified (e.g. \c{File /r something}), the current directory will be recursively searched. If more than one segment is specified (e.g. \c{File /r something\\*.*}), the last path segment will be used as the matching condition and the rest for the directory to search recursively. If a directory name matches, all of its contents is added recursively. Directory structure is preserved. \b Use the /x switch to exclude files or directories. @@ -95,6 +95,8 @@ will match the directory named \e{something} on the root directory, the file nam \c File /r something\*.* +When adding \e{\\*.*}, it will be used as the matching condition and \e{something} will be used as the directory to search. When only \e{something} is specified, the current directory will be recursively searched for every and directory named \e{something} and \e{another\\something} will be matched. + \S2{rename} Rename \c [/REBOOTOK] source_file dest_file