All Projects → hfally → cleanup

hfally / cleanup

Licence: MIT license
This tool was built for me and you to help us `cleanup` our folders with just a single command from the terminal.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to cleanup

Docker Registry Pruner
Tool to apply retention logic to docker images in a Docker Registry
Stars: ✭ 122 (+320.69%)
Mutual labels:  cleanup
folder-icons
Украсьте свою систему!
Stars: ✭ 21 (-27.59%)
Mutual labels:  folders
Files
A nicer way to handle files & folders in Swift
Stars: ✭ 2,189 (+7448.28%)
Mutual labels:  folders
Fork Cleaner
Quickly clean up unused forks on your github account.
Stars: ✭ 129 (+344.83%)
Mutual labels:  cleanup
Privacy.sexy
Open-source tool to enforce privacy & security best-practices on Windows and macOS, because privacy is sexy 🍑🍆
Stars: ✭ 221 (+662.07%)
Mutual labels:  cleanup
whichpm
Locates installed Perl modules.
Stars: ✭ 20 (-31.03%)
Mutual labels:  folders
Sweep
Reduce the disk usage of your projects by removing dependencies & builds
Stars: ✭ 105 (+262.07%)
Mutual labels:  cleanup
PowerSponse
PowerSponse is a PowerShell module focused on targeted containment and remediation during incident response.
Stars: ✭ 35 (+20.69%)
Mutual labels:  cleanup
Fengniao
A command line tool for cleaning unused resources in Xcode.
Stars: ✭ 2,852 (+9734.48%)
Mutual labels:  cleanup
support-center-bundle
Provide your customers with convenience by introducing the Support Center Portal to your UVDesk Community Helpdesk System.
Stars: ✭ 24 (-17.24%)
Mutual labels:  folders
Chemo
Remove pre-installed junk from Windows 10.
Stars: ✭ 144 (+396.55%)
Mutual labels:  cleanup
Win10clean
Cleanup your Windows 10 environment
Stars: ✭ 187 (+544.83%)
Mutual labels:  cleanup
Voila
Voila is a domain-specific language launched through CLI tool for operating with files and directories in massive amounts in a fast & reliable way.
Stars: ✭ 78 (+168.97%)
Mutual labels:  folders
Docker Registry Manifest Cleanup
Cleans up docker registry by removing untagged manifests from the registry
Stars: ✭ 127 (+337.93%)
Mutual labels:  cleanup
dot-elvish
My configuration files for elvish - mirrored from GitLab
Stars: ✭ 43 (+48.28%)
Mutual labels:  unix-shell
World Cleanup Day
☀️ World Cleanup Day: App (React Native) & Platform (Node). Join us in building software for a cleaner planet! PRs welcome!
Stars: ✭ 110 (+279.31%)
Mutual labels:  cleanup
react-folder-tree
A versatile react treeview library that supports custom icons and event handlers
Stars: ✭ 56 (+93.1%)
Mutual labels:  folders
removedupes
Remove Duplicate Messages
Stars: ✭ 52 (+79.31%)
Mutual labels:  cleanup
dirgen
Generate files and folders from a template file
Stars: ✭ 21 (-27.59%)
Mutual labels:  folders
diskusage
FANTASTIC SPEED utility to find out top largest folders/files on the disk.
Stars: ✭ 64 (+120.69%)
Mutual labels:  folders

CLEANUP - LINUX & UNIX

MIT multi-convert

Introduction

We all are victims of messy folders, containing lots of file types, ranging from music files to pictures, web-files, etc. A perfect example of such is our Downloads folder.

This tool was built for me and you to help us cleanup such folder with just a single command from the terminal.

By cleanup, it doesn't delete your files : ).

  • This tool creates a folder called CLEANUP in the directory it is being ran.
  • After this, it creates group folders (eg. Documents, Music, etc) inside the newly created CLEANUP folder.
  • Finally, it moves your files using their extensions to group them into the best-suiting new folder.

After these, you decide what to do with the grouped folders!

Installation

Go to your home directory on your terminal:

$ cd ~

Clone cleanup into your home directory:

$ git clone https://github.com/hfally/cleanup.git

Add $HOME/cleanup/bin to your PATH.

How to add to your PATH

Run the command below. There is 70% chances you are using the default bash terminal, but if you happen to be using another terminal like zsh switch .baschrc for .zshrc in the commands below.

$ echo 'export PATH="$PATH:$HOME/cleanup/bin"' >> .bashrc

You will need to source your .bashrc or logout/login (or restart the terminal) for the updates to take effect. To source your .bashrc, simply run:

$ source ~/.bashrc

if you use zsh or any other shell, follow the same route (replace .bashrc with .zshrc in the commands above as stated previously)

Basic Usage

  • Go to the folder you want to cleanup from the terminal

    $ cd /path-to-files/

    REPLACE path-to-files with the correct path to those files, e.g Downloads

  • To confirm if cleanup is properly installed, run:

    $ cleanup help

    If this returns how to use the tool, then you're good to go, else, go through this manual again.

  • Run the command below to do the cleanup

    $ cleanup start

Watch your folder get cleaned up.

That's it!

You can always get help through $ cleanup help

Undo/Revert

To undo/revert cleanup, run:

$ cleanup undo

Update

To pull latest updates, simply run:

$ cleanup update

OR

go into the cleanup directory: if you followed the above instructions, run:

$ cd ~/cleanup

then run:

$ git pull

Supported OS

  • Linux
  • UNIX
  • windows (using git bash): this hasn't been fully tested

License

Cleanup is open-sourced software licensed under the MIT license

Contribution

For contribution and personal bug reporting, send a mail to the author [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].