--same-directory, --same-folder

Creates resulting DjVu® file in the same folder as input PS/PDF file.

NOTE: If you specify an outputfile, it overrides --same-folder. Use this option only when an output file is not specified.

Example

pdftodjvu --same-directory /path/to/file.pdf.

This creates /path/to/file.djvu. Without the --same-directory option, file.djvu would be created in the current directory.

Example

pdftodjvu --same-directory document.pdf [document.djvu]

pdftodjvu --same-folder document.pdf [document.djvu]