Bash file library.
With autobash you can place all the bash files you have to use frequently into a single place and run any of them from a simple terminal command.
autobash has a simple syntax:
$ autobash [flag] file_name
The available flags are:
-a
: add the parameter file to the autobash library, its name will be the filename without the extension;-r
: remove the file with the name equal to the parameter from the autobash library;-l
: list all files currently in the autobash library;-h
: shows the help page;If you wish you can use the longer versions of the flags:
--add
;--remove
;--list
;--help
;$ autobash --add ./myscript.sh
- Adds myscript.sh to the autobash library with the name myscript.
$ autobash myscript
- Runs the bash file with the name myscript.
$ autobash --remove myscript
- Removes the myscript bash from the autobash library.
To download autobash you can either fork the project or download a zip version. For any, please visit the autobash project page on GitHub.
autobash is very simple to build and install. Just open the extracted folder and:
make
make install
- sudo may be necessary in some OSses, like Linux and Ubuntuautobash has been tested on Mac OS 10.9, Debian 7.3 and Ubuntu 12.04 LTS.
Version 1.0.1
Version 1.0
This project is licensed under the GLPv3 license. Although not necessary, any feedback or attribution on the use of this software is welcome!