User scripted bash binaries for general purpose(s) and use
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
ansi.clr
convert2
filetypes
gitm
loader
tputs.clr

README.md

Bash-Binaries

User scripted bash binaries for general purpose(s) and use

Individual bash script files

Getting Started

Usage:

:octocat: Checkout the code:

git clone git://github.com/Justin-Byrne/bash-binaries.git

Ensure to set script each script as an executable:

cd /bash-binaries
chmod +x <file>

tputs.clr

tputs colors and text-mode attributes

❗️ To utilize the tputs.clr color and text-mode attributes, simply incorporate tputs.clr at the top of your BASH file:

. /bash-binaries/tputs.clr

or

source /bash-binaries/tputs.clr

ansi.clr

ansi colors and text-mode attributes

❗️ To utilize the ansi.clr color and text-mode attributes, simply incorporate ansi.clr at the top of your BASH file:

filetypes

Identify which file-types exsit within the currently specified directory

Ensure to set script each script as an executable:

cd /bash-binaries
chmod +x filetypes

Initiate code:

$ filetypes

Example output:

[tputs] loaded for MINGW32!
desktop.ini : Initialization file
index.php : Pre-Hypertext Processor file
phpunit.xml : Extensible Markup Language file
README.md : Not processed
robots.txt : Text file

convert2

Convert characters into either binary or hexidecimal

Ensure to set script each script as an executable:

cd /bash-binaries
chmod +x convert2

Initiate code:

convert2 bin A

or

convert2 hex B
convert2 [opt1] [opt2]

opt1: conversion type; binary or hexidecimal.
opt2: character to convert.

gitm

Simplified git commands

Ensure to set script each script as an executable:

cd /bash-binaries
chmod +x gitm
  • Adding files to a repository:
gitm add
  • Add caching of password; or credentials
gitm addcred
  • Add remote origin repository
gitm addurl
  • Clone remote repository
gitm clone <user>/<repo>
  or
gitm clone Justin-Byrne/bash-binaries
  • Commit to repository
gitm commit "<msg>"
  or
gitm commit "commit message for repo"
  • Create remote repository
gitm create <repo>
  or
gitm create bash-binaries
  • Shows remote origin
gitm origin
  • Push committed changes to remote repository
gitm push
  • Shows remote repository settings; in verbose mode
gitm remote
  • Set remote repositories URL
gitm seturl <user>/<repo>
  or
gitm seturl Justin-Byrne/bash-binaries
  • Make and set tag
gitm tag mk <tag>
  or
gitm tag mk 0.1
  • Remove tag
gitm tag rm <tag>
  or
gitm tag rm v0.1
  • Show all tags
gitm tag show
  • Soft rollback of committed changes
gitm tag uncommit
  • Hard rollback
gitm unstage

License

Licensed under the GNU Affero General Public License

Copyright ©️ 2017 Justin D. Byrne | Byrne-Systems