https://github.com/listen180/file_info_extraction
This is bash script and python script for extracting some information from file (mainly PDF)
https://github.com/listen180/file_info_extraction
Last synced: about 2 months ago
JSON representation
This is bash script and python script for extracting some information from file (mainly PDF)
- Host: GitHub
- URL: https://github.com/listen180/file_info_extraction
- Owner: Listen180
- License: mit
- Created: 2018-11-14T06:09:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-28T08:30:31.000Z (over 7 years ago)
- Last Synced: 2025-01-12T22:32:56.679Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# File Info Extraction
---
## pdf_info.sh
***pdf_info.sh*** is a shell script to let you extract page number and file size of all PDF whose name satisfy some condition (where I use norm expression) in a folder and generate a csv file to record those information.
### usage
- In your shell, change to the directory that contains this bash file
- The same way to run a `'*.sh'` file: `$ ./pdf_info.sh`
- make sure you have `./` before the `'*.sh'`;
- make sure `'*.sh'` file is excuatable (you can do: `$ chmod +x pdf_info.sh` to makesure this file is excuatable)
- You need to specify the directory path that contains the PDFs you wnat to check afther `./pdf_info.sh`
- eg: `$ ./pdf_info.sh ~/my_pdf_folder`
---