Join multiple pcap files into one.
npm install @tdole/pcap_joinJoin multiple pcap files into one.
Requirements:
* NodeJS (v14.6.0 or higher)
This programm also exists on the online NPM repository. Install from there with 'npm install @todle/pcap_join -g'. This will install de program 'pcap_join' globally.
To install the checkedout git repository version use the command 'npm install -g' will install the program 'pcap_join' globally.
bash
node ./pcap_join.js [options]
Show this help message
--help
Sort list of files found with regularExpression (-r) alphabetical.
-s, --sort
Path with regular expression for files to append to output.
-r, --regularExpression
Path to start searching for files with regularExpression (-r).
-p, --path
append to pcap file. When it does not exist it will be created.
-o, --output (required)
read from pcap file to append to output file.
-f, --file
`Example:
* '
pcap_join -f part1.pcap -o all.pcap' will add or append file part1.pcap to all.pcap.
'pcap_join -o all.pcap -p pcap_files/ -r ".\.pcap$" -s`' will add or append all files found below folder 'pcap_files/' which filename match regular expression ".*\.pcap$". Before appending it will sort the list of files found.