Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/manchicken/coffee-trash

A quick little trash script I wrote as a CoffeeScript experiment (and I use it, too)
https://github.com/manchicken/coffee-trash

Last synced: 18 days ago
JSON representation

A quick little trash script I wrote as a CoffeeScript experiment (and I use it, too)

Awesome Lists containing this project

README

        

Version
=======
Version 0.2

Requirements
============
* better-require
* posix-getopt

Install
=======
I just create a ~/lib/site_node directory, symlink the code files in node_modules there,
then I symlink the trash-cli.coffee to ~/bin/trash

There's really nothing much more fancy, but I wanted a way of playing with CoffeeScript, and this sort of script is useful.

Note
====
This is experimental code... you really should be careful when using it.

Usage
=====
$ trash somefile.txt somedirectory

$ trash empty