1.0.0 • Published 7 years ago

dirm v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

dirm

dirm Logo

Lightning ⚡ speed directory management from the terminal.

NPM Downloads Travis Build NPM Version Dependencies

Installation & Usage

First, install dirm using npm (we assume you have pre-installed node.js).

npm install -g dirm

Create files

$ dirm create hello.txt

      _   _
   __| | (_)  _ __   _ __ ___
  / _` | | | | '__| | '_ ` _ \
 | (_| | | | | |    | | | | | |
  \__,_| |_| |_|    |_| |_| |_|

hello.txt has been created successfully

Note that the file can be of any file type. If you want to add some content to the file, you can do the following,

$ dirm create hello.txt "This is a text file"

      _   _
   __| | (_)  _ __   _ __ ___
  / _` | | | | '__| | '_ ` _ \
 | (_| | | | | |    | | | | | |
  \__,_| |_| |_|    |_| |_| |_|

hello.txt has been created successfully

Delete files

$ dirm delete hello.txt

      _   _
   __| | (_)  _ __   _ __ ___
  / _` | | | | '__| | '_ ` _ \
 | (_| | | | | |    | | | | | |
  \__,_| |_| |_|    |_| |_| |_|

hello.txt has been deleted successfully

As stated earlier, you can delete almost anything using the above command.

Create a directory

You can create a directory using the following command.

$ dirm create-dir hello

      _   _
   __| | (_)  _ __   _ __ ___
  / _` | | | | '__| | '_ ` _ \
 | (_| | | | | |    | | | | | |
  \__,_| |_| |_|    |_| |_| |_|

The directory hello has been created successfully

Delete a directory

WARNING: When a directory is deleted all the contents of the directory will be removed before deletion.

You can delete a directory using the following command.

$ dirm delete-dir hello

      _   _
   __| | (_)  _ __   _ __ ___
  / _` | | | | '__| | '_ ` _ \
 | (_| | | | | |    | | | | | |
  \__,_| |_| |_|    |_| |_| |_|

The directory has been deleted

E-mail files

$ dirm email

Follow the instructions displayed in the terminal to send your e-mail.

License

MIT License

Copyright (c) 2017 Nikhil Raghavendra

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

1.0.0

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.7

7 years ago

0.4.6

7 years ago

0.4.5

7 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.9

7 years ago

0.3.8

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago