This file contains 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 | |
#!/usr/bin/expect -f | |
level=0 | |
path="" | |
createRepo() | |
{ | |
repo_name=$1 | |
test -z $repo_name && echo "Repo name required." 1>&2 && exit 1 |
This file contains 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 | |
navigateDir() | |
{ | |
files=`ls` | |
for dir in $files | |
do | |
checkDir $dir | |
done | |
} |
This file contains 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
cmd package list packages -f # List all packages with respective to there paths | |
pm dump package-name # Show the system state of a package | |
dumpsys | |
This file contains 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 | |
# -------------------------------------------------------------------------- # | |
# This is a linux shell script, used to create 'github' repository from | |
# command line. | |
# Each git server providers provide different APIs for creating repositories | |
# though, the repository manipulation through git client is same. | |
# Note: This can be done in windows also but requires curl. | |
# --------------------------------------------------------------------------- # |