No description
				
			
		| 
				 
		
			All checks were successful
		
		
	 
	Create a new release for every new commit to main / add-release (push) Successful in 13s 
				
			 | 
			||
|---|---|---|
| .forgejo/workflows | ||
| .flake8 | ||
| pdfdate.py | ||
| pyproject.toml | ||
| README.md | ||
pdfdate
Change the creation date of a PDF file.
The script replaces the /CreationDate metadata either directly in the PDF file or inside a compressed stream. This does not work with all PDF files (e.g. encrypted PDF files, PDF files created by certain libraries).
So far, it has been successfully tested with PDFs created by multi-function printers from multiple vendors, as well as PDF files created with pdfTeX and XeTeX.
Usage
$ python pdfdate.pyz --help
Usage: pdfdate.pyz [OPTIONS] INPUT_FILE DATE OUTPUT_FILE
  Change the creation date of a PDF file INPUT_FILE to DATE and write the
  result to OUTPUT_FILE.
  DATE has to be in ISO 8601 format (e.g. '2025-08-16T19:56:23+02:00'). If no
  timezone is specified, the system local timezone is assumed.
Options:
  --help  Show this message and exit.
Resources
License
This project is licensed under the MIT license.