A collection of bash utilities and scripts to help out your every day activities
GPL-3.0 License
A lot of bash functions and scripts I've created and collected over the years.
For the most part, there shouldn't be any dependencies, but each script will have a place at the top that discusses the dependency.
$ bash -c "$(curl -#fL raw.github.com/iamnewton/bash-utils/go/install)"
$
- Wrapper to prevent bad copy/paste of bash commandscdls
- Change into directory, list all filescleanup
- Recursively delete files that match a certain patterncompare-gzip
- Compare original and gzipped file sizecss-stats
- Generates CSS statsdraw-ruler
- Draw a ruler across the screeneachdir
- Run one or more commands in one or more directoriesextract
- Unarchive various compression formats based on extensionfavicon
- Favicon and Apple Touch Icon Generatorfind-todos
- Finds all the @TODOs in a specified directoryfpo
- Grabs random placholder images from hhhhold.com and downloads imagesfs
- Determine size of a file or total size of a directoryget-cert-names
- Show all the names (CNs and SANs) listed in the SSL certificate for a given domaingitio
- Turns a github.com URL into a git.io URLgit-updateall
- Runs git pull
on every directory within the current directoryhttpcompression
- Test if HTTP compression (RFC 2616 + SDCH) is enabled for a given URLie-vm
- Download the Virtual Box images for IE VMsjson
- Syntax-highlight JSON strings or filesjump
- Quickly navigate your filesystemlint
- Allows you to check your html, css or jsmakefile
- Creates a Makefile for encrypting passwords/sensitive data in repospid
- Get the PIDs of all matching processes for all specified processnames.rgb-to-xterm
- Convert values between RGB hex codes and xterm-256 color codes.server
- Start an HTTP server from a directory, optionally specifying the porttodo
- Creates a todo item on Desktoptargz
- Create a .tar.gz archive, using zopfli
, pigz
or gzip
for compressiontoday
- Creates/updates Today's todo listtodo
- Creates something for me to doupdate-ctags
- Updates ctagsInspiration and code was taken from many sources, including (in lexicographical order):