Code Monkey home page Code Monkey logo

awesome_rmdir's Introduction

Awesome rmdir command

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.

License

MIT license.

Installation

Stable version

Install the Nimrod compiler. Then use Nimrod's babel package manager to install the binary:

$ babel update
$ babel install awesome_rmdir

Development version

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

Binary 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`

Changes

This is version 0.2.1. For a list of changes see the docs/CHANGES.rst file.

Git branches

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.

Feedback

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.

awesome_rmdir's People

Contributors

gradha avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.