V1.0.0 (updates incoming)
-
Written in Python
-
These scrapers will allow the user to search in set source directories (all folders and subfolders in the source directory) for files with a set extension (and/or EXIF info).
-
The files matching the extension will either be moved or copied to a destination directory
-
The files will be renamed in the date and time of the ext
-
Check exif data if a jpg otherwise ignore if stated in argument
-
The images will be stored in a directory structure starting with make and then model:
- /make/
- /model/
- 2012_02_03_14_00.jpg
- 2012_02_03_14_01.jpg
- 2012_02_03_14_02.jpg
- /model/
- /make/
| Command | Description | Example |
|---|---|---|
| -t | File extension to be moved/copied | -t .ext1 .extn |
| -s | Source Directory | -s src/dir/ |
| -d | Destination Path | -d dest/dir/ |
| -c | Copy the file to the destination OR | -c |
| -m | Move the file from the source to the destination | -m |
| -z | Check all the ext types not only EXIF | -z |
Run __runScraper.bat or call command in terminal:
python ./pyscraper.py "-t" ".jpg .png .xyz .abc" "-s" "c:/" "-d" "f:/scrapedFiles/" "-c" "-z"
- exif (pyPhotographScraper.py)
- os
- getopt
- sys
- shutil
- time
- datetime
- Python 3.7.3
vir ma. lief ma baie