file_management using python
File Management using the python os and shutil Module
Problem: I have 25k photos and videos which include various file format(like .json, .jpeg, .jpg, .png, mov, .mp4, .pdf). I want to delete the .json files and arrange video and photos in structure(my photos and video includes Screenrecorder, Screenshot, Snapchat/Photos, Snapchat/Video, PDF, GIF, Quotes, Collage, etc).
if I want to move 3 GB of data then windows will take at least 1 minute, the big task is to do bifurcation in the required structure.
Solution: So I decided to use python as my tool to manage, and here is the solution...