---
title: "Document automation and conversion examples"
canonical_url: "https://www.nutrient.io/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/examples/"
md_url: "https://www.nutrient.io/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/examples.md"
last_updated: "2026-06-09T10:25:14.360Z"
description: "Explore how to automate file conversion and redaction with Document Automation Server. Transform images to PDFs while ensuring privacy."
---

# Document automation: Convert and redact files easily

**Example 1**:

Generate a searchable PDF `C:\ADX Demo\Output\\ US2007246939A1.pdf` from a TIFF file.

```bash

"C:\Aquaforest\Autobahn DX\bin\autobahndx.exe" /source="C:\ADX Demo\In\Tiff\File\US2007246939A1.tif" /sourcetype=file /target="C:\ADX Demo\Output" /outputtype=pdf /operation=tifftopdf /ocr=true

```

**Example 2**:

Generate a searchable PDF file from a folder of TIFF and JPEG files, with Deskew and page orientation detection and correction.

```bash

"C:\Aquaforest\Autobahn DX\bin\autobahndx.exe" /source="C:\ADX Demo\In\TIFF\Folder" /sourcetype=folder /target="C:\ADX Demo\Output" /output=outputfile.pdf /outputtype=pdf /ocr=true /autorotate /deskew /operation=mergetifftopdf

```

**Example 3**:

Generate searchable PDF files from image PDF files found in a folder and subfolders.

```bash

"C:\Aquaforest\Autobahn DX\bin\autobahndx.exe" /source="C:\ADX Demo\In\PDF\Tree" /sourcetype=tree /target="C:\ADX Demo\Output" output=%FILENAME /ocr=true /outputtype=pdf /operation=ocrimagepdf /debug

```

**Example 4**:

Run a Document Automation Server (DAS) job that is in the Job Manager. For example, to run job 1001:

```bash

"C:\Aquaforest\Autobahn DX\bin\autobahndx.exe" /jobId=1001

```

**Example 5**:

Run a DAS job from an existing jobfile. For example, to run job 1002:

```bash

"C:\Aquaforest\Autobahn DX\bin\autobahndx.exe" /jobfile="C:/Aquaforest/Autobahn DX/jobdef/1002.xml" /logfile="C:/Aquaforest/Autobahn DX/logs/1002"

```

**Example 6**:

Smart Redaction of Credit Card numbers only.

```bash

"C:\Aquaforest\Autobahn DX\bin\autobahndx.exe" /operation=smartredaction /ResourcePath="C:\Aquaforest\Autobahn DX\distribution\gdpicture\ocr" /Source="C:\ADX Demo\In\Redaction-Test-2.pdf" /target="C:\ADX Demo\Out" /Dictionary=eng /TempFolder="C:\ADX Demo\temp\00af66a1-ef8e-4a22-a9c3-4059be36f514" /PageRange="\*" /MarkColor="black" /sourcetype=file /output=%FILENAME-No-Credit-card /createfolder=true /overwrite=true /logfile="C:\ADX Demo\Log\redaction_UnitTests.log" /RedactEmailAddresses=false /RedactPhoneNumbers=false /RedactVatIDs=false /RedactURIs=false /RedactIBANs=false /RedactVehicleIdentificationNumbers=false /RedactSocialSecurityNumbers=false /RedactPostalAddresses=false

```

---

## Related pages

- [Streamline tasks with the command-line interface](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface.md)
- [Effortlessly merge PDFs with advanced features](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/merge-pdf--used-with-mergepdf.md)
- [Create XML property file – [used with getxmlpdf]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/create-xml-property-file--used-with-getxmlpdf.md)
- [Streamline Azure file downloads with automation](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/azure-uploaddownload--used-with-azuredownload-and-azureupload.md)
- [Streamline PDF text extraction with ease](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/extract-text-download--used-with-extracttext.md)
- [Effortlessly convert any file to PDF with OCR](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/ocr-any-file-to-pdf-used-with-ocranyfile-or-ocranyfileex.md)
- [Efficient job control in document automation](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/general-job-options.md)
- [OCR [used with ocrimagepdf or tifftopdf/ mergetifftopdf]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/ocr-used-with-ocrimagepdf-or-tifftopdf-mergetifftopdf.md)
- [Optimize your documents with extended OCR steps](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/extended-ocr-steps.md)
- [[PDF to TIFF [used with pdftotiff]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-to-tiff-used-with-pdftotiff.md)
- [PDF conversion options [used with topdf operations]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-conversion-options-used-with-topdf-operations.md)
- [Sharepoint settings – [used with sharepointdownload and sharepointupload]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/sharepoint-settings--used-with-sharepointdownload-and-sharepointupload.md)
- [PDF output file settings – [used with pdfprops]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/pdf-output-file-settings--used-with-pdfprops.md)
- [Split parameters [used with splittiff and splitpdf operations]](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/split-parameters-used-with-splittiff-and-splitpdf-operations.md)
- [Efficient document automation with barcode processing](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/tiffpdf-barcode--used-with-barcode.md)
- [Customize PDF stamping options easily](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/stamp-pdf--used-with-stamppdf.md)
- [Document conversion with the GdPicture CLI](/guides/document-automation-server/document-conversion/autobahn-dx-command-line-interface/gdpicture-steps.md)

