1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-02 11:39:03 +00:00

okay, a change to r6530: the current %R and %T are being removed as colons are invalid chracters in Windows and Mac OS X filenames (thanks to jah for pointing out the problem on Windows). What was %r and %t are now the new %R and %T. All this means is that %r and %t are gone, and %R/%T are the same as with strftime() but without colons

This commit is contained in:
kris
2007-12-14 04:04:22 +00:00
parent 2425765f4e
commit 9ae985ef59
3 changed files with 14 additions and 19 deletions

View File

@@ -2870,15 +2870,15 @@ respectively.</para>
<para>All of these arguments support <function>strftime()</function>-like
conversions in the filename. <literal>%H</literal>, <literal>%M</literal>,
<literal>%S</literal>, <literal>%T</literal>, <literal>%R</literal>,
<literal>%m</literal>, <literal>%d</literal>, <literal>%y</literal>,
and <literal>%Y</literal> are all exactly the same as in
<function>strftime()</function>. <literal>%t</literal> is the same as
<literal>%H%M%S</literal>, <literal>%r</literal> is the same as
<literal>%S</literal>, <literal>%m</literal>, <literal>%d</literal>,
<literal>%y</literal>, and <literal>%Y</literal> are all exactly the same
as in <function>strftime()</function>. <literal>%T</literal> is the same
as <literal>%H%M%S</literal>, <literal>%R</literal> is the same as
<literal>%H%M</literal>, and <literal>%D</literal> is the same as
<literal>%m%d%y</literal>. So <option>-oX 'scan-%T-%D.xml'</option>
will use an XML file in the form of
<filename>scan-14:48:40-121307.xml</filename>.</para>
<literal>%m%d%y</literal>. A <literal>%</literal> followed by any other
character just yields that character (<literal>%%</literal> gives you a
percent symbol). So <option>-oX 'scan-%T-%D.xml'</option> will use an XML
file in the form of <filename>scan-144840-121307.xml</filename>.</para>
<para>Nmap also offers options to control scan verbosity and to append
to output files rather than clobbering them. All of these options are