Hi,
On Wed, Feb 17, 2016 at 9:55 AM, <[email protected]> wrote:
> Hi everyone,
>
> I have a questions about netsniff-ng and maybe you could help me:
> is there any possibility to format output file name by date & time?
>
> I tried, but didn't work:
>
> netsniff-ng -i ethx -o /destination/"$(date +'%Y%m%d_%H%M')".pcap
>
> (I use netsniff-ng 0.5.7)
>
> PS. for tcpdump it works.
>
> Thanks.
>
> Best regards,
> and
>
> --
> You received this message because you are subscribed to the Google Groups
> "netsniff-ng" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
I just tried it on Debian (in VBox) :
sudo netsniff-ng/netsniff-ng -i enp0s3 -o /tmp/"$(date
+'%Y%m%d_%H%M')".pcap -n 100
And I got the pcap file under /tmp:
/tmp/20160218_1251.pcap
May be I did not understand your problem ?
Regards,
Vadim Kochan
--
You received this message because you are subscribed to the Google Groups
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.