Python Application to separate the files according to their types and copying those files from original folder to destination folder. CSV files records -
- File name
- Timestamp of creation
- Timestamp of last modification
- Original file path
- Path after moving it to two corresponding type folder
- Extension
This application is done using shutil, os, random , pandas and time libraries of python.
Flow of the program
- Empty D1 and D1_copy folders are made.
- 12 folders of different file types each with 30 files are added in D1 folder
- All the files and folders are shifted from D1 to D1_copy folder
- Time stamp of creation, time stamp of modification, original file path, modified file path and other attributes are added to the CSV file.