Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shir0kamii/cleaner
Clean your directories with an interactive shell :sunglasses:
https://github.com/shir0kamii/cleaner
Last synced: about 2 months ago
JSON representation
Clean your directories with an interactive shell :sunglasses:
- Host: GitHub
- URL: https://github.com/shir0kamii/cleaner
- Owner: Shir0kamii
- License: mit
- Created: 2016-08-14T14:18:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-24T21:47:44.000Z (almost 7 years ago)
- Last Synced: 2024-09-27T00:49:34.657Z (3 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. image:: https://img.shields.io/pypi/v/cleaner.svg?maxAge=3600 :target: https://github.com/Shir0kamii/cleaner
#######
Cleaner
#######Cleaner is a cool interactive shell that allows you to clean your directories
with less eforts.=============
Why Cleaner ?
=============Have you ever been tired to clean a messy `~/Downloads/` directory ? Do you
think this bunch of `ls` and `rm ` or `mv ` are
needed ?Cleaner solve exactly this problem, submiting to you each file of the directory
you want to clean, and reducing the commands to type to `rm` and `mv
`.============
Installation
============Via pip
=======you can just `pip install cleaner`
=====
Usage
=====Use `cleaner ` to clean a messy directory
A shell will be spawn, with the prompt containing a filename. The command you
will type will take effect on this file. Next, another filename will be prompted
and each file of the directory will be submited to you this way.Directories end with a '/' character on the prompt.
To exit the shell, you can either type `quit`, `Ctrl-D` or `Ctrl-C`.
The `info` command prints a line containing some useful informations. The
default format is ` | :` wiht `` being in the same
format than the first columns of a `ls --long` command in bash.Use `enter` on a directory to list its tree. The directory will be printed
again after the traversal.Use `rm` on a filename to remove an entry. If it's used on a directory, it
will recursively remove all its tree.Use `mv ` to move an entry to ``. If it's used on
a directory, it will recursively move all its tree to ``.Use `chmod ` to modify permissions of a file or directory. The shell will
keep the same file after this command.Use `chown [:]` to modify ownership of the file or directory. The
shell will keep the same file after this command.If you don't type anything, the shell will go to the next element. This same
effect will take place if you type `pass`.