awesome_rmdir
Command to remove acceptably empty directories.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:23 |
Tags
Installation
nimble install awesome_rmdir
choosenim install awesome_rmdir
git clone https://github.com/Araq/awesome_rmdir/
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| awesome_rmdir | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/Araq/awesome_rmdir/ |
|---|---|
| Homepage | https://github.com/Araq/awesome_rmdir/ |
| Registry Source | nimble_official |
README
===================== Awesome rmdir command =====================
If you don't use the rmdir command you can stop reading here and go watch
some kpop instead <http://www.youtube.com/watch?v=dEf4PJZXBxA>_.
But if you use the rmdir command in a desktop like environment you may
hate that it won't remove directories which contain files like .DS_Store
or Thumbs.db, which modern OSes create everywhere and make you cringe every
time you have to deal with them.
The awesome_rmdir command is a reimplementation of the trusty rmdir
command in the Nimrod programming language <http://nimrod-lang.org>_. It
first tries to remove the directory as usual, and only if normal removal fails
it will scan the directory and remove these useless files, then try again the
removal of the directory you specified. The end result should be that if the
directory is acceptably empty it will be removed.
Removal of the directory follows rmdir tradition and will remove the
directory immediately without putting it in the recycle bin. If you need
recycling of files from the command line you could use the trash-binary
<https://github.com/gradha/genieos/tree/master/trash-binary> from the
genieos Nimrod module <https://github.com/gradha/genieos> instead.
I should work in marketing.
License
MIT license <LICENSE.rst>_.
Installation
Stable version
Install the Nimrod compiler <http://nimrod-lang.org>. Then use Nimrod's
babel package manager <https://github.com/nimrod-code/babel> to install the
binary::
$ babel update
$ babel install awesome_rmdir
Development version
Install the Nimrod compiler <http://nimrod-lang.org>. Then use Nimrod's
babel package manager <https://github.com/nimrod-code/babel> to install
locally the github checkout::
$ git clone https://github.com/gradha/awesome_rmdir.git
$ cd awesome_rmdir
$ git checkout develop
$ babel install
Binary install
Go to https://github.com/gradha/awesome_rmdir/releases
<https://github.com/gradha/awesome_rmdir/releases>_ and fetch one of the
binary packages attached to the released versions, preferably a recent one.
Unpack, then copy the awesome_rmdir binary to somewhere in your path, or
create a bash alias for rmdir so it gets run automatically::
alias rmdir=`/path/to/installed/awesome_rmdir/binary`
Changes
This is version 0.2.1. For a list of changes see the
docs/CHANGES.rst <docs/CHANGES.rst>_ file.
Git branches
This project uses the git-flow branching model
<https://github.com/nvie/gitflow>_. Which means the master default branch
doesn't see much movement, development happens in another branch like
develop. Most people will be fine using the master branch, but if you
want to contribute something please check out first the develop brach and
do pull requests against that.
Feedback
You can send me feedback through github's issue tracker
<http://github.com/gradha/awesome_rmdir/issues>. I also take a look from time
to time to Nimrod's forums <http://forum.nimrod-lang.org> where you can talk
to other nimrod programmers.