/Scripts

bash scripts to automate things

Primary LanguageShellMIT LicenseMIT

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

$ 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

$ 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