Skip to content

Commit

Permalink
Add pcap and other network capture formats to fvi
Browse files Browse the repository at this point in the history
  • Loading branch information
dfandrich committed Nov 25, 2023
1 parent a0cc2e3 commit 9de7783
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fvi
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,14 @@ for f in "$@" ; do
ogginfo -- "$f"
;;

# requires: wireshark-tools
*.pcap | *.pcapng | *.5vw | *.erf | *.trc0 | *.cap | *.tr1 | *.snoop | \
*.ncf | *.ncfx | *.bfr | *.pcap.gz | *.pcapng.gz | *.5vw.gz | \
*.erf.gz | *.trc0.gz | *.cap.gz | *.tr1.gz | *.snoop.gz | *.ncf.gz | \
*.ncfx.gz | *.bfr.gz) filetype_label Pcap network capture file
capinfos -- "$f"
;;

# requires: xpdf
*.pdf) filetype_label Portable Document Format document
pdfinfo -- "$f"
Expand Down

0 comments on commit 9de7783

Please sign in to comment.