This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CURRENT_DIR=$(pwd) | |
| SRC_DIR="$HOME/" #TODO:original repo directory use $HOME instead of ~ to avoid error | |
| DST_DIR="$CURRENT_DIR/" #TODO:dev setup directory | |
| CP_ARRAY=("javascript/" "style/" "outterfile.js") #TODO:only folders or files need to be copied or if need to copy entire folder use ("") | |
| #FYI the whole code only copies files having same name in both src and dst | |
| Color_Off=$'\033[0m' # Text Reset | |
| Red=$'\033[0;31m' # Red | |
| Cyan=$'\033[0;36m' # Cyan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| username=$1 | |
| if [ -z "$username" ]; then | |
| read -r -p "Enter GitHub Username: " username | |
| fi | |
| echo "Getting Repos from $username ..." | |
| private=0 | |
| get_private="n" |