- This is a small Python program to extract the original images (not the cropped or compressed ones) from the uploads folder (within the wp-content/uploads directory).
- Works with uploaded files and videos as well.
- Simply run the program using
python file-extractor.py
orpython3 file-extractor.py
and input your source (the path tp the uploads folder) and destination folder into the terminal and hit enter.
- Python
- os
- shutil