conversations
listlengths
2
2
[ { "from": "human", "value": "Tell me about `pbmtopi3`." }, { "from": "gpt", "value": "Convert a PBM image to an Atari Degas PI3 image.\nSee also: `pi3topbm`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtopi3.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to an Atari Degas PI3 image via the `pbmtopi3` command" }, { "from": "gpt", "value": "`pbmtopi3 {{path/to/image.pbm}} > {{path/to/atari_image.pi3}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoplot`." }, { "from": "gpt", "value": "Convert a PBM image into a UNIX plot file.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoplot.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image into a UNIX plot file via the `pbmtoplot` command" }, { "from": "gpt", "value": "`pbmtoplot {{path/to/image.pbm}} > {{path/to/output.plot}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoppa`." }, { "from": "gpt", "value": "Convert a PBM image to HP Printer Performance Architecture format.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoppa.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image into a PPA file via the `pbmtoppa` command" }, { "from": "gpt", "value": "`pbmtoppa {{path/to/image.pbm}} > {{path/to/output.ppa}}`" } ]
[ { "from": "human", "value": "Specify the desired dots-per-inch and paper size via the `pbmtoppa` command" }, { "from": "gpt", "value": "`pbmtoppa -d {{300}} -s {{a4}} {{path/to/image.pbm}} > {{path/to/output.ppa}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoptx`." }, { "from": "gpt", "value": "Convert a PBM image into Printronix printer graphics.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoptx.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image into a PTX file via the `pbmtoptx` command" }, { "from": "gpt", "value": "`pbmtoptx {{path/to/image.pbm}} > {{path/to/output.ptx}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtosunicon`." }, { "from": "gpt", "value": "Convert a PBM image into a Sun icon.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtosunicon.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image into a Sun icon via the `pbmtosunicon` command" }, { "from": "gpt", "value": "`pbmtosunicon {{path/to/input.pbm}} > {{path/to/output.ico}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtowbmp`." }, { "from": "gpt", "value": "Convert a PBM image to a wireless bitmap file.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtowbmp.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to a WBMP file via the `pbmtowbmp` command" }, { "from": "gpt", "value": "`pbmtowbmp {{path/to/input_file.pbm}} > {{path/to/output_file.wbmp}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtox10bm`." }, { "from": "gpt", "value": "This command has been superseded by `pbmtoxbm -x10`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtox10bm.html>.\n" } ]
[ { "from": "human", "value": "View documentation for the current command via the `pbmtox10bm` command" }, { "from": "gpt", "value": "`tldr pbmtoxbm`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoxbm`." }, { "from": "gpt", "value": "Convert a PBM image to a X11 or X10 bitmap.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoxbm.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to a X11 XBM file via the `pbmtoxbm` command" }, { "from": "gpt", "value": "`pbmtoxbm {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}`" } ]
[ { "from": "human", "value": "Explicitly specify whether an X11 or X10 bitmap should be generated via the `pbmtoxbm` command" }, { "from": "gpt", "value": "`pbmtoxbm -{{x11|x10}} {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoybm`." }, { "from": "gpt", "value": "Convert a PBM file to a Bennet Yee \"face\" file.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoybm.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image file to YBM via the `pbmtoybm` command" }, { "from": "gpt", "value": "`pbmtoybm {{path/to/input_file.pbm}} > {{path/to/output_file.ybm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtozinc`." }, { "from": "gpt", "value": "Convert a PBM image to a Zinc bitmap as used by the Zinc Interface Library Version 1.0.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtozinc.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to a Zinc bitmap via the `pbmtozinc` command" }, { "from": "gpt", "value": "`pbmtozinc {{path/to/image.pbm}} > {{path/to/output.zinc}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmupc`." }, { "from": "gpt", "value": "Generate a PBM image of a Universal Product Code (UPC).\nMore information: <https://netpbm.sourceforge.net/doc/pbmupc.html>.\n" } ]
[ { "from": "human", "value": "Generate a UPC image for the specified product type, manufacturer code, and product code via the `pbmupc` command" }, { "from": "gpt", "value": "`pbmupc {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Use an alternative style that does not display the checksum via the `pbmupc` command" }, { "from": "gpt", "value": "`pbmupc -s2 {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbzip2`." }, { "from": "gpt", "value": "A parallel implementation of the `bzip2` file compressor.\nSee also: `bzip2`, `tar`.\nMore information: <https://manned.org/pbzip2>.\n" } ]
[ { "from": "human", "value": "Compress a file via the `pbzip2` command" }, { "from": "gpt", "value": "`pbzip2 {{path/to/file}}`" } ]
[ { "from": "human", "value": "Compress a file using the specified number of processors via the `pbzip2` command" }, { "from": "gpt", "value": "`pbzip2 -p{{4}} {{path/to/file}}`" } ]
[ { "from": "human", "value": "Decompress a file via the `pbzip2` command" }, { "from": "gpt", "value": "`pbzip2 {{[-d|--decompress]}} {{path/to/compressed_file.bz2}}`" } ]
[ { "from": "human", "value": "Display help via the `pbzip2` command" }, { "from": "gpt", "value": "`pbzip2 {{[-h|--help]}}`" } ]
[ { "from": "human", "value": "Tell me about `pcapfix`." }, { "from": "gpt", "value": "Repair damaged or corrupted PCAP and PcapNG files.\nMore information: <https://f00l.de/pcapfix/>.\n" } ]
[ { "from": "human", "value": "Repair a PCAP/PCapNG file (Note: for PCAP files, only the first 262144 bytes of each packet are scanned) via the `pcapfix` command" }, { "from": "gpt", "value": "`pcapfix {{path/to/file.pcapng}}`" } ]
[ { "from": "human", "value": "Repair an entire PCAP file via the `pcapfix` command" }, { "from": "gpt", "value": "`pcapfix --deep-scan {{path/to/file.pcap}}`" } ]
[ { "from": "human", "value": "Repair a PCAP/PcapNG file and write the repaired file to the specified location via the `pcapfix` command" }, { "from": "gpt", "value": "`pcapfix --outfile {{path/to/repaired.pcap}} {{path/to/file.pcap}}`" } ]
[ { "from": "human", "value": "Treat the specified file as a PcapNG file, ignoring automatic recognition via the `pcapfix` command" }, { "from": "gpt", "value": "`pcapfix --pcapng {{path/to/file.pcapng}}`" } ]
[ { "from": "human", "value": "Repair a file and show the process in detail via the `pcapfix` command" }, { "from": "gpt", "value": "`pcapfix --verbose {{path/to/file.pcap}}`" } ]
[ { "from": "human", "value": "Tell me about `pcdindex`." }, { "from": "gpt", "value": "This command has been renamed to `pcdovtoppm`.\nMore information: <https://netpbm.sourceforge.net/doc/pcdindex.html>.\n" } ]
[ { "from": "human", "value": "View documentation for the command under its current name via the `pcdindex` command" }, { "from": "gpt", "value": "`tldr pcdovtoppm`" } ]
[ { "from": "human", "value": "Tell me about `pcdovtoppm`." }, { "from": "gpt", "value": "Create an index image for a photo CD based on its overview file.\nMore information: <https://netpbm.sourceforge.net/doc/pcdovtoppm.html>.\n" } ]
[ { "from": "human", "value": "Create a PPM index image from a PCD overview file via the `pcdovtoppm` command" }, { "from": "gpt", "value": "`pcdovtoppm {{path/to/file.pcd}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Specify the maximum width of the output image and the maximum size of each of the images contained in the output via the `pcdovtoppm` command" }, { "from": "gpt", "value": "`pcdovtoppm {{[-m|-maxwidth]}} {{width}} {{[-s|-size]}} {{size}} {{path/to/file.pcd}} > {{path...
[ { "from": "human", "value": "Specify the maximum number of images across and the maximum number of colours via the `pcdovtoppm` command" }, { "from": "gpt", "value": "`pcdovtoppm {{[-a|-across]}} {{n_images}} {{[-c|-colors]}} {{n_colours}} {{path/to/file.pcd}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Use the specified font for annotations and paint the background white via the `pcdovtoppm` command" }, { "from": "gpt", "value": "`pcdovtoppm {{[-f|-font]}} {{font}} {{[-w|-white]}} {{path/to/file.pcd}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Tell me about `pcxtoppm`." }, { "from": "gpt", "value": "Convert a PCX file to a PPM image.\nMore information: <https://netpbm.sourceforge.net/doc/pcxtoppm.html>.\n" } ]
[ { "from": "human", "value": "Convert a PCX file to a PPM image via the `pcxtoppm` command" }, { "from": "gpt", "value": "`pcxtoppm {{path/to/file.pcx}} > {{path/to/file.ppm}}`" } ]
[ { "from": "human", "value": "Use a predefined standard palette even if the PCX file provides one via the `pcxtoppm` command" }, { "from": "gpt", "value": "`pcxtoppm {{[-s|-stdpalette]}} {{path/to/file.pcx}} > {{path/to/file.ppm}}`" } ]
[ { "from": "human", "value": "Print information on the PCX header to `stdout` via the `pcxtoppm` command" }, { "from": "gpt", "value": "`pcxtoppm {{[-verb|-verbose]}} {{path/to/file.pcx}} > {{path/to/file.ppm}}`" } ]
[ { "from": "human", "value": "Tell me about `pdffonts`." }, { "from": "gpt", "value": "Portable Document Format (PDF) file fonts information viewer.\nMore information: <https://www.xpdfreader.com/pdffonts-man.html>.\n" } ]
[ { "from": "human", "value": "Print PDF file fonts information via the `pdffonts` command" }, { "from": "gpt", "value": "`pdffonts {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Specify user password for PDF file to bypass security restrictions via the `pdffonts` command" }, { "from": "gpt", "value": "`pdffonts -upw {{password}} {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Specify owner password for PDF file to bypass security restrictions via the `pdffonts` command" }, { "from": "gpt", "value": "`pdffonts -opw {{password}} {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Print additional information on location of the font that will be used when the PDF file is rasterized via the `pdffonts` command" }, { "from": "gpt", "value": "`pdffonts -loc {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Print additional information on location of the font that will be used when the PDF file is converted to PostScript via the `pdffonts` command" }, { "from": "gpt", "value": "`pdffonts -locPS {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Tell me about `pdfgrep`." }, { "from": "gpt", "value": "Search text in PDF files.\nMore information: <https://pdfgrep.org>.\n" } ]
[ { "from": "human", "value": "Find lines that match pattern in a PDF via the `pdfgrep` command" }, { "from": "gpt", "value": "`pdfgrep {{pattern}} {{file.pdf}}`" } ]
[ { "from": "human", "value": "Include file name and page number for each matched line via the `pdfgrep` command" }, { "from": "gpt", "value": "`pdfgrep --with-filename --page-number {{pattern}} {{file.pdf}}`" } ]
[ { "from": "human", "value": "Do a case-insensitive search for lines that begin with \"foo\" and return the first 3 matches via the `pdfgrep` command" }, { "from": "gpt", "value": "`pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}`" } ]
[ { "from": "human", "value": "Find pattern in files with a `.pdf` extension in the current directory recursively via the `pdfgrep` command" }, { "from": "gpt", "value": "`pdfgrep --recursive {{pattern}}`" } ]
[ { "from": "human", "value": "Find pattern on files that match a specific glob in the current directory recursively via the `pdfgrep` command" }, { "from": "gpt", "value": "`pdfgrep --recursive --include {{'*book.pdf'}} {{pattern}}`" } ]
[ { "from": "human", "value": "Tell me about `pdfimages`." }, { "from": "gpt", "value": "Utility for extracting images from PDFs.\nMore information: <https://manned.org/pdfimages>.\n" } ]
[ { "from": "human", "value": "Extract all images from a PDF file and save them as PNGs via the `pdfimages` command" }, { "from": "gpt", "value": "`pdfimages -png {{path/to/file.pdf}} {{filename_prefix}}`" } ]
[ { "from": "human", "value": "Extract images from pages 3 to 5 via the `pdfimages` command" }, { "from": "gpt", "value": "`pdfimages -f {{3}} -l {{5}} {{path/to/file.pdf}} {{filename_prefix}}`" } ]
[ { "from": "human", "value": "Extract images from a PDF file and include the page number in the output filenames via the `pdfimages` command" }, { "from": "gpt", "value": "`pdfimages -p {{path/to/file.pdf}} {{filename_prefix}}`" } ]
[ { "from": "human", "value": "List information about all the images in a PDF file via the `pdfimages` command" }, { "from": "gpt", "value": "`pdfimages -list {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Tell me about `pdfinfo`." }, { "from": "gpt", "value": "Portable Document Format (PDF) file information viewer.\nMore information: <https://www.xpdfreader.com/pdfinfo-man.html>.\n" } ]
[ { "from": "human", "value": "Print PDF file information via the `pdfinfo` command" }, { "from": "gpt", "value": "`pdfinfo {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Specify user password for PDF file to bypass security restrictions via the `pdfinfo` command" }, { "from": "gpt", "value": "`pdfinfo -upw {{password}} {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Specify owner password for PDF file to bypass security restrictions via the `pdfinfo` command" }, { "from": "gpt", "value": "`pdfinfo -opw {{password}} {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Tell me about `pdfjam`." }, { "from": "gpt", "value": "Shell frontend for the LaTeX pdfpages package for mingling PDFs.\nMore information: <https://github.com/rrthomas/pdfjam>.\n" } ]
[ { "from": "human", "value": "Merge two (or more) PDFs via the `pdfjam` command" }, { "from": "gpt", "value": "`pdfjam {{path/to/file1.pdf}} {{path/to/file2.pdf}} --outfile {{path/to/output_file.pdf}}`" } ]
[ { "from": "human", "value": "Merge the first page of each file together via the `pdfjam` command" }, { "from": "gpt", "value": "`pdfjam {{files...}} 1 --outfile {{path/to/output_file.pdf}}`" } ]
[ { "from": "human", "value": "Merge subranges from two PDFs via the `pdfjam` command" }, { "from": "gpt", "value": "`pdfjam {{path/to/file1.pdf 3-5,1}} {{path/to/file2.pdf 4-6}} --outfile {{path/to/output_file.pdf}}`" } ]
[ { "from": "human", "value": "Sign an A4 page (adjust delta to height for other formats) with a scanned signature by overlaying them via the `pdfjam` command" }, { "from": "gpt", "value": "`pdfjam {{path/to/file.pdf}} {{path/to/signature}} --fitpaper true --outfile {{path/to/signed.pdf}} --nup \"...
[ { "from": "human", "value": "Arrange the pages from the input file into a fancy 2x2 grid via the `pdfjam` command" }, { "from": "gpt", "value": "`pdfjam {{path/to/file.pdf}} --nup {{2x2}} --suffix {{4up}} --preamble '{{\\usepackage{fancyhdr} \\pagestyle{fancy}}}'`" } ]
[ { "from": "human", "value": "Reverse the order of pages within each given file and concatenate them via the `pdfjam` command" }, { "from": "gpt", "value": "`pdfjam {{files...}} {{last-1}} --suffix {{reversed}}`" } ]
[ { "from": "human", "value": "Tell me about `pdfjoin`." }, { "from": "gpt", "value": "PDF merging utility based on pdfjam.\nMore information: <https://github.com/rrthomas/pdfjam-extras>.\n" } ]
[ { "from": "human", "value": "Merge two PDFs into one with the default suffix \"joined\" via the `pdfjoin` command" }, { "from": "gpt", "value": "`pdfjoin {{path/to/file1.pdf}} {{path/to/file2.pdf}}`" } ]
[ { "from": "human", "value": "Merge the first page of each given file together via the `pdfjoin` command" }, { "from": "gpt", "value": "`pdfjoin {{path/to/file1.pdf path/to/file2.pdf ...}} {{1}} --outfile {{output_file}}`" } ]
[ { "from": "human", "value": "Save pages 3 to 5 followed by page 1 to a new PDF with custom suffix via the `pdfjoin` command" }, { "from": "gpt", "value": "`pdfjoin {{path/to/file.pdf}} {{3-5,1}} --suffix {{rearranged}}`" } ]
[ { "from": "human", "value": "Merge page subranges from two PDFs via the `pdfjoin` command" }, { "from": "gpt", "value": "`pdfjoin {{/path/to/file1.pdf}} {{2-}} {{file2}} {{last-3}} --outfile {{output_file}}`" } ]
[ { "from": "human", "value": "Tell me about `pdflatex`." }, { "from": "gpt", "value": "Compile a PDF document from LaTeX source files.\nMore information: <https://manned.org/pdflatex>.\n" } ]
[ { "from": "human", "value": "Compile a PDF document via the `pdflatex` command" }, { "from": "gpt", "value": "`pdflatex {{source.tex}}`" } ]
[ { "from": "human", "value": "Compile a PDF document specifying an output directory via the `pdflatex` command" }, { "from": "gpt", "value": "`pdflatex -output-directory={{path/to/directory}} {{source.tex}}`" } ]
[ { "from": "human", "value": "Compile a PDF document, exiting on each error via the `pdflatex` command" }, { "from": "gpt", "value": "`pdflatex -halt-on-error {{source.tex}}`" } ]
[ { "from": "human", "value": "Tell me about `pdf-parser`." }, { "from": "gpt", "value": "Identify fundamental elements of a PDF file without rendering it.\nMore information: <https://blog.didierstevens.com/programs/pdf-tools>.\n" } ]
[ { "from": "human", "value": "Display statistics for a PDF file via the `pdf-parser` command" }, { "from": "gpt", "value": "`pdf-parser --stats {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Display objects of type `/Font` in a PDF file via the `pdf-parser` command" }, { "from": "gpt", "value": "`pdf-parser --type={{/Font}} {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Search for strings in indirect objects via the `pdf-parser` command" }, { "from": "gpt", "value": "`pdf-parser --search={{search_string}} {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Tell me about `pdfposter`." }, { "from": "gpt", "value": "Convert a large-sheeted PDF into multiple A4 pages for printing.\nMore information: <https://pdfposter.readthedocs.io>.\n" } ]
[ { "from": "human", "value": "Convert an A2 poster into 4 A4 pages via the `pdfposter` command" }, { "from": "gpt", "value": "`pdfposter --poster-size a2 {{input_file.pdf}} {{output_file.pdf}}`" } ]
[ { "from": "human", "value": "Scale an A4 poster to A3 and then generate 2 A4 pages via the `pdfposter` command" }, { "from": "gpt", "value": "`pdfposter --scale 2 {{input_file.pdf}} {{output_file.pdf}}`" } ]
[ { "from": "human", "value": "Tell me about `pdfseparate`." }, { "from": "gpt", "value": "Portable Document Format (PDF) file page extractor.\nMore information: <https://manpages.debian.org/latest/poppler-utils/pdfseparate.1.en.html>.\n" } ]
[ { "from": "human", "value": "Extract pages from PDF file and make a separate PDF file for each page via the `pdfseparate` command" }, { "from": "gpt", "value": "`pdfseparate {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`" } ]
[ { "from": "human", "value": "Specify the first/start page for extraction via the `pdfseparate` command" }, { "from": "gpt", "value": "`pdfseparate -f {{3}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`" } ]
[ { "from": "human", "value": "Specify the last page for extraction via the `pdfseparate` command" }, { "from": "gpt", "value": "`pdfseparate -l {{10}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`" } ]
[ { "from": "human", "value": "Tell me about `pdftex`." }, { "from": "gpt", "value": "Compile a PDF document from TeX source files.\nMore information: <https://www.tug.org/applications/pdftex/>.\n" } ]
[ { "from": "human", "value": "Compile a PDF document via the `pdftex` command" }, { "from": "gpt", "value": "`pdftex {{source.tex}}`" } ]
[ { "from": "human", "value": "Compile a PDF document, specifying an output directory via the `pdftex` command" }, { "from": "gpt", "value": "`pdftex -output-directory={{path/to/directory}} {{source.tex}}`" } ]
[ { "from": "human", "value": "Compile a PDF document, exiting on each error via the `pdftex` command" }, { "from": "gpt", "value": "`pdftex -halt-on-error {{source.tex}}`" } ]
[ { "from": "human", "value": "Tell me about `pdftk`." }, { "from": "gpt", "value": "PDF toolkit.\nMore information: <https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit>.\n" } ]