Nmap Development mailing list archives

Re: Output w/ date/time variables?


From: Fyodor <fyodor () insecure org>
Date: Thu, 8 Apr 2010 12:48:24 -0700

On Thu, Apr 08, 2010 at 10:11:57AM -0500, Ron wrote:

At work, I frequently run a single script across large chunks of the
network, and I normally name the file
"20100408-<script>-<subnet>". It's pretty easy to do that manually, so
except when I accidentally whack my old file it isn't a big deal

Yeah, I've been there (whacking my old file)!  I like to use %T in the
name for that reason.  It changes every second, so when I go back in
shell history and modify/re-execute an old command, I don't
accidentally blow away the previous output.

Cheers,
-F
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: