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.
- Host: GitHub
- URL: https://github.com/taimoorzaeem/shellscripts
- Owner: taimoorzaeem
- License: gpl-3.0
- Created: 2022-09-03T10:41:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-20T17:47:25.000Z (over 3 years ago)
- Last Synced: 2025-01-23T14:19:00.475Z (about 1 year ago)
- Topics: bash, bash-script, shell, shell-script, utility-scripts
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.