From 982ef3729975548e025973b8b885a9755b9c0784 Mon Sep 17 00:00:00 2001 From: Alex Epstein Date: Sat, 22 Jul 2017 07:25:20 -0400 Subject: [PATCH] Updating to 1.14.0 --- README.md | 2 +- bash-snippets.1 | 8 +++++++- bash-snippets.1.ronn | 6 +++++- changelog.md | 13 +++++++++++++ cheat/cheat | 2 +- cloudup/cloudup | 2 +- crypt/crypt | 2 +- currency/currency | 2 +- extras/Linux/maps/maps | 2 +- geo/geo | 2 +- install.sh | 2 +- movies/movies | 2 +- qrify/qrify | 2 +- short/short | 2 +- siteciphers/siteciphers | 2 +- stocks/stocks | 2 +- taste/taste | 2 +- todo/todo | 2 +- weather/weather | 2 +- ytview/ytview | 2 +- 20 files changed, 42 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 6d38645..5ad7f77 100644 --- a/README.md +++ b/README.md @@ -263,7 +263,7 @@ sparrow plg install [tool] * Then cd into the cloned directory: ```cd Bash-Snippets``` -* Git checkout to the latest stable release ```git checkout v1.13.2``` +* Git checkout to the latest stable release ```git checkout v1.14.0``` * Run the guided install script with ```bash diff --git a/bash-snippets.1 b/bash-snippets.1 index f433f0d..e95b5b2 100644 --- a/bash-snippets.1 +++ b/bash-snippets.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BASH\-SNIPPETS" "1" "July 2017" "" "" +.TH "BASH\-SNIPPETS" "1" "July 2017" "ff" "" . .SH "NAME" \fBbash\-snippets\fR \- A collection of small bash scripts for heavy terminal users @@ -87,6 +87,12 @@ Usage: cloudup [flags] or cloudup [flags] [listOfGHRepoNamesSplitBySpaces] \-a Backup all github repositories . .IP "\(bu" 4 +\-s Only backup repositories that you have created (no forks) (only works in conjunction with the \-a flag) +. +.IP "\(bu" 4 +\-t Backup the repository with a timestamp added to the repostiory name (will always create a new unique bitbucket repo) +. +.IP "\(bu" 4 \-u Update Bash\-Snippet Tools . .IP "\(bu" 4 diff --git a/bash-snippets.1.ronn b/bash-snippets.1.ronn index 2bed2b8..54e5f90 100644 --- a/bash-snippets.1.ronn +++ b/bash-snippets.1.ronn @@ -54,6 +54,10 @@ Usage: cloudup [flags] or cloudup [flags] [listOfGHRepoNamesSplitBySpaces] * -a Backup all github repositories + * -s Only backup repositories that you have created (no forks) (only works in conjunction with the -a flag) + + * -t Backup the repository with a timestamp added to the repostiory name (will always create a new unique bitbucket repo) + * -u Update Bash-Snippet Tools * -h Show the help @@ -274,7 +278,7 @@ Examples: * taste Catcher in the Ry * taste -s Red Hot Chili Peppers - + ### Todo Description: A simplistic commandline todo list. diff --git a/changelog.md b/changelog.md index cdff920..bad9c24 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,19 @@ # Bash-Snippets Changelog + +## Version 1.14.0 + + + +### Changes +* Shebang changed to ```/usr/bin/env bash``` for more portability +* Todo has more error checking for bad input +* Added the ```-s``` option to cloudup which will prevent the backup of forked repositories +* Added the ```-t``` option to cloudup to give the user the ability to create a unique repo or just update the old one + +
+ ## Version 1.13.2
diff --git a/cheat/cheat b/cheat/cheat index a4514db..32971d1 100755 --- a/cheat/cheat +++ b/cheat/cheat @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" ## rest of these variables are search flags search="0" diff --git a/cloudup/cloudup b/cloudup/cloudup index cdb7040..5de3685 100755 --- a/cloudup/cloudup +++ b/cloudup/cloudup @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" private="0" ## state of private flag all="0" ## state of all flag diff --git a/crypt/crypt b/crypt/crypt index eb0c011..5c94562 100755 --- a/crypt/crypt +++ b/crypt/crypt @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" +currentVersion="1.14.0" state="" configuredClient="" diff --git a/currency/currency b/currency/currency index b0fe813..f0eaf4f 100755 --- a/currency/currency +++ b/currency/currency @@ -3,7 +3,7 @@ base="" exchangeTo="" -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" ## This function determines which http get tool the system has installed and returns an error if there isnt one diff --git a/extras/Linux/maps/maps b/extras/Linux/maps/maps index 084fc07..4038f4c 100755 --- a/extras/Linux/maps/maps +++ b/extras/Linux/maps/maps @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" directionsFlag="0" directionsMapFlag="0" diff --git a/geo/geo b/geo/geo index dd1a7ce..268d2bb 100755 --- a/geo/geo +++ b/geo/geo @@ -6,7 +6,7 @@ # Github: https://github.com/jakewmeyer # -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" ## This function determines which http get tool the system has installed and returns an error if there isnt one diff --git a/install.sh b/install.sh index b0b7913..93dea36 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" +currentVersion="1.14.0" declare -a tools=(currency stocks weather crypt movies taste short geo cheat ytview cloudup qrify siteciphers todo) usedGithubInstallMethod="0" diff --git a/movies/movies b/movies/movies index d0b9c45..87ddefa 100755 --- a/movies/movies +++ b/movies/movies @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" configuredPython="" diff --git a/qrify/qrify b/qrify/qrify index 842175d..8637044 100755 --- a/qrify/qrify +++ b/qrify/qrify @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Linyos Torovoltos github.com/linyostorovovoltos -currentVersion="1.13.2" +currentVersion="1.14.0" multiline="0" # flag that indicates multiline option diff --git a/short/short b/short/short index d97026b..ce68402 100755 --- a/short/short +++ b/short/short @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" configuredPython="" diff --git a/siteciphers/siteciphers b/siteciphers/siteciphers index 09d0a3d..f9e97fe 100755 --- a/siteciphers/siteciphers +++ b/siteciphers/siteciphers @@ -1,7 +1,7 @@ #!/usr/bin/env bash DELAY=1 configuredClient="" -currentVersion="1.13.2" +currentVersion="1.14.0" checkOpenSSL() { diff --git a/stocks/stocks b/stocks/stocks index 63467b0..69557b9 100755 --- a/stocks/stocks +++ b/stocks/stocks @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" configuredPython="" diff --git a/taste/taste b/taste/taste index c617da4..8b09b95 100755 --- a/taste/taste +++ b/taste/taste @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" configuredPython="" source ~/.bash_profile 2> /dev/null ## allows grabbing enviornment variable diff --git a/todo/todo b/todo/todo index 62208b1..80312a3 100755 --- a/todo/todo +++ b/todo/todo @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein flag="" -currentVersion="1.13.2" +currentVersion="1.14.0" configuredClient="" ## This function determines which http get tool the system has installed and returns an error if there isnt one diff --git a/weather/weather b/weather/weather index c96f837..d4fe082 100755 --- a/weather/weather +++ b/weather/weather @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.13.2" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4 +currentVersion="1.14.0" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4 LANG="${LANG:-en}" locale=$(echo $LANG | cut -c1-2) configuredClient="" diff --git a/ytview/ytview b/ytview/ytview index 2d6eba8..4a12acd 100755 --- a/ytview/ytview +++ b/ytview/ytview @@ -6,7 +6,7 @@ if [[ -d $HOME/.cache/ytview ]];then rm -rf $HOME/.cache/ytview/ ;fi player="" configuredClient="" -currentVersion="1.13.2" +currentVersion="1.14.0" flag="" ## This function determines which http get tool the system has installed and returns an error if there isnt one