- Copies all the images from a directory specified as source to a destination folder
- Can be made to copy other files extensions as well
Make following changes in code
For images
: if not filename.endswith('.jpg') or filename.endswith('.JPG'):
For pdf's
: if not filename.endswith('.pdf') or filename.endswith('.PDF'):
For videos
: if not filename.endswith('.mkv') or filename.endswith('.mp4'):
etc