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

https://github.com/cyrus2281/scripts

bash scripts to automate things
https://github.com/cyrus2281/scripts

bash bash-script count-lines counter line-counter script

Last synced: 6 months ago
JSON representation

bash scripts to automate things

Awesome Lists containing this project

README

          

# Bash Scripts for automation and customization

### LineCounter

This bash script will go recursively through all the files and will count all the lines and return the total number of lines
If not path is provided or the provideded path doesn't exists, it will recursively count from current directory.
#### Example
```sh
$ bash ../Scripts/CountLines.sh ./src
There are a total of 3050 lines
```

---

### AccountStats

This Bash will count all the lines add, removed, and total number of line for the given git user name for the current git repository
#### Example
```sh
$ bash ../Scripts/AccountStats.sh "Cyrus Mobini"
added lines: 212 removed lines: 131 total lines: 343
```
---

### Git Aliases
A bunch of bash aliases that shortens the most commonly used git commands.

---

Copyright: Cyrus Mobini 2023