I want to find specific text or word from PDF file and replace it with another text and make a new PDF file from command-line. I tried with sed
, find
, awk
series on text files but I want to get on PDF file. Which command line utility will help me?
Ubuntu – Find and replace with on PDF file from command line
command linepdftext processing
Related Question
- Ubuntu – Find and replace text within a file using commands
- Ubuntu – command-line utility app which can find a specific block of lines in a text file, and replace it
- Ubuntu – Finding file and replacing word with some specific word
- Ubuntu – How to find a word and add text after it in a .txt file
- Ubuntu – Find & Replace in 80mb file
- Ubuntu – Command line tool to search and replace text on a PDF
Best Answer
Use
pdftk
to uncompress the file, then edit viased
and finally recompress it.Of course any text in images cannot be changes like this.