No description
Find a file
Grzegorz Adam Hankiewicz b41cf93638 Merge branch 'release/0.2.1'
2013-12-21 20:07:04 +01:00
docs Updates version numbers for 0.2.1 release. Refs #7. 2013-12-21 20:06:37 +01:00
tests Adds version switch. Refs #6. 2013-12-21 15:20:01 +01:00
.gitignore Adds command to build and zip binary. Refs #5. 2013-12-21 17:16:07 +01:00
awesome_rmdir.babel Updates version numbers for 0.2.1 release. Refs #7. 2013-12-21 20:06:37 +01:00
awesome_rmdir.nim Updates version numbers for 0.2.1 release. Refs #7. 2013-12-21 20:06:37 +01:00
docindex.rst Adds documentation index. Refs #2. 2013-12-21 16:19:20 +01:00
LICENSE.rst Changes LICENSE to rst format. Refs #2. 2013-12-21 16:17:29 +01:00
nakefile.nim Adds babel package. Refs #4. 2013-12-21 17:47:24 +01:00
nakefile.nimrod.cfg Adds command to build and zip binary. Refs #5. 2013-12-21 17:16:07 +01:00
README.rst Updates version numbers for 0.2.1 release. Refs #7. 2013-12-21 20:06:37 +01:00
release_steps.md Adds release steps for next version. 2013-04-18 22:35:31 +02:00

=====================
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.