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

https://github.com/taimoorzaeem/shellscripts

Some utility shell scripts. WIP.
https://github.com/taimoorzaeem/shellscripts

bash bash-script shell shell-script utility-scripts

Last synced: 11 months ago
JSON representation

Some utility shell scripts. WIP.

Awesome Lists containing this project

README

          

# ShellScripts
Some reusable shellscripts

### How to use these scripts:
```
$ git clone https://github.com/taimoorzaeem/shellscripts.git
$ cd shellscripts/tests/
$ ./runtests.sh
```

If all tests are passed, then you should be good to use the scripts in the `src` directory.

Make sure these scripts are executable. If they are not, make them executable by:
```
$ chmod u+x
```

Currently there is only one script:

`replspace` which replace all spaces in a filename with underscore for a given directory.

#### Example
```
./replspace Test/
```
To install this script, run the following from project root directory:
```
$ make changemod
$ sudo make install
```
This should install the script to `/usr/bin`.

To uninstall this script:
```
$ sudo make uninstall
```

Note: This script currently does not work recursively. I'll make updates in the future.