(Linux Based)
Categorically organise files according to date & and file type;
To make life easier and organised, it is highly imperative that we have our work placed structured.
Classifile-1.0
Input:
python3 Classifile.py [-h] -s SRC -d DST -l LOG
SRC: Source folder path (Dump)
DST: Destination directory path
LOG: Contains log files
Output: DST directory will be hierarchically structured based on Year, Month and file type.
Mandatory switches: -s/--src, -d/--dst, -l/--log
Optional Switches: -h
os, sys, time, fnmatch, logging, argparse, datetime, watchdog.observers, watchdog.events
Given below is an example using which it is easy to understand the working of Classifile
python3 Classifile.py -s Peronal/ -d Organised/ -l ../Logs/
Vulnerability checks yet to be performed
Features to be included
Handling destination changes
Source Log
Destination Log
Optional sort using file creation/modified date