This little script allows you to recursively generate FDF files from PDFs and extract field data from FDF files. The extracted data is then saved to a single CSV file.
- Generates FDF files from PDFs in the current directory in a temporary directory.
- Extracts field data from FDF files and creates a common CSV file.
- pdftk - You need to have pdftk installed on your system.
-
Clone this repository to your local machine:
git clone https://github.com/arfabee/fdf2csv.git
-
Make the script executable and run it
chmod +x script.sh && ./fdf2csv.sh
-
The script will generate FDF files from PDFs in the current directory and extract the field data into a CSV file named all_data.csv.
😄 Happy PDF data extraction and CSV generation!
M.A.