Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

coderhs/de_clutter

Repository files navigation

DeClutter

DeClutter is a ruby script that organizes the files in your folder. It is meant to organize a large group of files like for example your Download Folder.

How to use?

Requires ruby to installed and present

git clone git@github.com:coderhs/de_clutter.git
cd de_clutter
bundle install
ruby de_clutter organize_folder ~/Downloads

You can get more information about the options available by running:

ruby de_clutter organize_folder --help

How it works

It work using an internal db (2 JSON files) mapping each mime type to a category. If a mimetype is not available it uses a second file to categorize based on extension.

Future Improvement ideas - PR(s) Appreciated!

  1. Load the categorization data from an external API or library.
  2. A preview / Interface to show the different classification(s), and allow the user to modify the destination before moving. Web UI/GUI app.

Author

Harisankar P S

License

MIT License

About

Organize the files in your messy folder

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

AltStyle によって変換されたページ (->オリジナル) /