Skip to main content

This is a CLI based cleaner utility for Unix based systems.

Project description

Welcome to InnoCleaner

This is a Cleaning & File Sorting Utility which is developed by me as a submission for Innovaccer HackerCamp 18 under the assignment titled Infrastructure Engineering Assignment.

The problem statement for the implemented project is: Infrastructure Engineering Assignment

Installation

To install just type in your terminal: pip install InnoCleaner

Requirements

  • Unix Platform

  • Python Installation with version > 3

Required Functionality

  • Scan the specified path in the file system to display top 10 largest sized files.

  • Move the files on Desktop based on extension and save them in Documents folder clubbed in folders according to extension.

Now let us describe what InnoCleaner is:

InnoCleaner is a UNIX based CLI cleaner utility that gives the user a tool to perform disk cleanup and related capabilities.

Functionality Implemented

  • Scan and Save Space : Given the path and number of files to list, it can recursively scan the path to display the largest sized files(Further operations include):

    • Delete file(s):

      • For this choose the corresponding option and specify the file(s) (space separated if multiple)

    • Compressing file(s):

      • Similar to compression, specify the file(s) (space separated if multiple)

    • Stats about the amount of space saved are then displayed.

  • Sorting : Given the path of a source and destination, the files in source folder are sorted according to extension and saved folder-wise in the destination location

  • Duplicity : Given a path, InnoCleaner recursively scans the path for detecting duplicate files.

  • Cleanup : On selecting the Cleanup Option, the temp files are cleaned.

Future Improvements

No project is complete without a list of improvements & InnoCleaner is no exception. The list of improvements can be never ending:

  • Some of the modules are python3 dependent. Provide backward compatibility to python 2 also (atleast from python 2.7).

  • Right now the module is tested only for UNIX environments. Test and make the module cross-platform compatible.

  • Separate compression algorithms work better with different types of files. So have a list of compression algorithms corresponding to the file extension and by checking the file extension, use the best possible to save most space.

  • Just detecting duplicate files isn’t of much use. So provide option to clean the duplicate files too. Since a lot of files may be duplicated, first display only limited number of files, ask for any deletion and then proceed further. Also, provide an option to clean all duplicate files (if the user does not want to select explicitly).

  • Detection of obsolete files : Based on the modified dates, obsolete files may be displayed to be cleaned up or compressed.

-Contact: In case of any query you can always contact me at kushagra.gupta@students.iiit.ac.in and I will be happy to help.

Happy Coding!

Developer Kushagra Gupta, IIIT Hyderabad, Bakul Nivas, Gachibowli Hyderabad - 500032 Telangana, India

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

InnoCleaner-1.0.10.dev1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

InnoCleaner-1.0.10.dev1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file InnoCleaner-1.0.10.dev1.tar.gz.

File metadata

File hashes

Hashes for InnoCleaner-1.0.10.dev1.tar.gz
Algorithm Hash digest
SHA256 5900e783be6817e2b782daadf2f8369df2ecf7251c8400862971122b91add962
MD5 bdaf26db0e28f0fdf289f1c222a06b22
BLAKE2b-256 ec40623ef84317489341c920826d99879b59f9090ad2e191dcb152b59699728e

See more details on using hashes here.

File details

Details for the file InnoCleaner-1.0.10.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for InnoCleaner-1.0.10.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b13c14b22f3be3b30d7cd76f0b0875965649730c1be46670ea8e0d9e5622091
MD5 43b92061b271a2e99a8a767e1b1783d4
BLAKE2b-256 fc98248be7a70254b73953f4742e1b9df1e972b3fa37c195ef39b59030ad5ea9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page