man-pages/man1/pdfdetach.1.html
2021-03-31 01:06:50 +01:00

160 lines
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of pdfdetach</TITLE>
</HEAD><BODY>
<H1>pdfdetach</H1>
Section: User Commands (1)<BR>Updated: 15 August 2011<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
pdfdetach - Portable Document Format (PDF) document embedded file
extractor (version 3.03)
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>pdfdetach</B>
[options]
[<I>PDF-file</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>Pdfdetach</B>
lists or extracts embedded files (attachments) from a Portable
Document Format (PDF) file.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
Some of the following options can be set with configuration file
commands. These are listed in square brackets with the description of
the corresponding command line option.
<DL COMPACT>
<DT id="1"><B>-list</B>
<DD>
List all of the embedded files in the PDF file. File names are
converted to the text encoding specified by the &quot;-enc&quot; switch.
<DT id="2"><B>-save</B><I> number</I>
<DD>
Save the specified embedded file. By default, this uses the file name
associated with the embedded file (as printed by the &quot;-list&quot; switch);
the file name can be changed with the &quot;-o&quot; switch.
<DT id="3"><B>-savefile</B><I> filename</I>
<DD>
Save the specified embedded file. By default, this uses the file name
associated with the embedded file (as printed by the &quot;-list&quot; switch);
the file name can be changed with the &quot;-o&quot; switch.
<DT id="4"><B>-saveall</B>
<DD>
Save all of the embedded files. This uses the file names associated
with the embedded files (as printed by the &quot;-list&quot; switch). By
default, the files are saved in the current directory; this can be
changed with the &quot;-o&quot; switch.
<DT id="5"><B>-o</B><I> path</I>
<DD>
Set the file name used when saving an embedded file with the &quot;-save&quot;
switch, or the directory used by &quot;-saveall&quot;.
<DT id="6"><B>-enc</B><I> encoding-name</I>
<DD>
Sets the encoding to use for text output (embedded file names).
This defaults to &quot;UTF-8&quot;.
<DT id="7"><B>-opw</B><I> password</I>
<DD>
Specify the owner password for the PDF file. Providing this will
bypass all security restrictions.
<DT id="8"><B>-upw</B><I> password</I>
<DD>
Specify the user password for the PDF file.
<DT id="9"><B>-v</B>
<DD>
Print copyright and version information.
<DT id="10"><B>-h</B>
<DD>
Print usage information.
(<B>-help</B>
and
<B>--help</B>
are equivalent.)
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>EXIT CODES</H2>
The Xpdf tools use the following exit codes:
<DL COMPACT>
<DT id="11">0<DD>
No error.
<DT id="12">1<DD>
Error opening a PDF file.
<DT id="13">2<DD>
Error opening an output file.
<DT id="14">3<DD>
Error related to PDF permissions.
<DT id="15">99<DD>
Other error.
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
The pdfinfo software and documentation are copyright 1996-2011 Glyph &amp;
Cog, LLC.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+pdffonts">pdffonts</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pdfimages">pdfimages</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pdfinfo">pdfinfo</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pdftocairo">pdftocairo</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pdftohtml">pdftohtml</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pdftoppm">pdftoppm</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pdftops">pdftops</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pdftotext">pdftotext</A></B>(1)
<B><A HREF="/cgi-bin/man/man2html?1+pdfseparate">pdfseparate</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pdfsig">pdfsig</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pdfunite">pdfunite</A></B>(1)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="16"><A HREF="#lbAB">NAME</A><DD>
<DT id="17"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="18"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="19"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="20"><A HREF="#lbAF">EXIT CODES</A><DD>
<DT id="21"><A HREF="#lbAG">AUTHOR</A><DD>
<DT id="22"><A HREF="#lbAH">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:22 GMT, March 31, 2021
</BODY>
</HTML>