Skip to content

Automatic-file-cleaner,display 10 largest files size in given path searching all directories recusively

Notifications You must be signed in to change notification settings

roguexray007/Automatic-directory-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic-file-cleaner

1.largest_10_files.py --- using this u can get the top ten largest file size within the directory(recursively scan all folders and files within that directory) u specify

2.cleaning.py --- example usage of this script -If there are 10 MP3 files, 3 word documents, 4 PDFs then in Documents Folder three folders should be created with name MP3, DOC and PDF and all the files on the Desktop should be moved into these directories based on their file type or extension.

I actually added option of specifying which directory u want to organise and where u want all the files to get organised.. Any file without extension will go into WITHOUT_EXT folder

Additional feature--- if u want to exclude some extensions from being organised,just include that extension in the list named exclude_ext

NOTE: for mac and linux user in largest_10_files.py , for mac use cmd2 as ls -sh is not displaying size in human readable format in mac and use optimised cmd1 in linux.U can use cmd2 for linux also but cmd1 is optimised

REFER TO DEMO-RUN FOR MORE INSIGHT AND BETTER UNDERSTANDING

About

Automatic-file-cleaner,display 10 largest files size in given path searching all directories recusively

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages