If you don't use the rmdir
command you can stop reading here and go watch
some kpop instead.
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. 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 from the
genieos Nimrod module instead.
I should work in marketing.
Install the Nimrod compiler. Then use Nimrod's babel package manager to install the binary:
$ babel update $ babel install awesome_rmdir
Install the Nimrod compiler. Then use Nimrod's babel package manager to install locally the github checkout:
$ git clone https://github.com/gradha/awesome_rmdir.git $ cd awesome_rmdir $ git checkout develop $ babel install
Go to 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`
This is version 0.2.1. For a list of changes see the docs/CHANGES.rst file.
This project uses the git-flow branching model. 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.
You can send me feedback through github's issue tracker. I also take a look from time to time to Nimrod's forums where you can talk to other nimrod programmers.