Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamnewton/bash-utils
A collection of bash utilities and scripts to help out your every day activities
https://github.com/iamnewton/bash-utils
bash shell utilities
Last synced: 4 months ago
JSON representation
A collection of bash utilities and scripts to help out your every day activities
- Host: GitHub
- URL: https://github.com/iamnewton/bash-utils
- Owner: iamnewton
- License: gpl-3.0
- Created: 2014-07-06T16:59:25.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-06-30T05:57:38.000Z (8 months ago)
- Last Synced: 2024-07-01T08:28:04.335Z (8 months ago)
- Topics: bash, shell, utilities
- Language: Shell
- Homepage: https://iamnewton.github.io/bash-utils
- Size: 115 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# BASH Utilities
A lot of bash functions and scripts I've created and collected over the years.
## Requirements
* [xCode Command Line Tools](https://developer.apple.com/downloads)
For the most part, there shouldn't be any dependencies, but each script will have a place at the top that discusses the dependency.
## One-line Install
```bash
$ bash -c "$(curl -#fL raw.github.com/iamnewton/bash-utils/go/install)"
```## Features
* `$` - Wrapper to prevent bad copy/paste of bash commands
* `cdls` - Change into directory, list all files
* `cleanup` - Recursively delete files that match a certain pattern
* colors - Constants and functions for terminal colors
* `compare-gzip` - Compare original and gzipped file size
* `css-stats` - Generates CSS stats
* `draw-ruler` - Draw a ruler across the screen
* `eachdir` - Run one or more commands in one or more directories
* `extract` - Unarchive various compression formats based on extension
* `favicon` - Favicon and Apple Touch Icon Generator
* `find-todos` - Finds all the @TODOs in a specified directory
* `fpo` - Grabs random placholder images from hhhhold.com and downloads images
* `fs` - Determine size of a file or total size of a directory
* `get-cert-names` - Show all the names (CNs and SANs) listed in the SSL certificate for a given domain
* `gitio` - Turns a github.com URL into a git.io URL
* `git-updateall` - Runs `git pull` on every directory within the current directory
* `httpcompression` - Test if HTTP compression (RFC 2616 + SDCH) is enabled for a given URL
* `ie-vm` - Download the Virtual Box images for IE VMs
* `json` - Syntax-highlight JSON strings or files
* `jump` - Quickly navigate your filesystem
* `lint` - Allows you to check your html, css or js
* `makefile` - Creates a Makefile for encrypting passwords/sensitive data in repos
* miscellaneous - Various helper scripts
* `pid` - 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 port
* `todo` - Creates a todo item on Desktop
* `targz` - Create a .tar.gz archive, using `zopfli`, `pigz` or `gzip` for compression
* `today` - Creates/updates Today's todo list
* `todo` - Creates something for me to do
* `update-ctags` - Updates ctags## Acknowledgements
Inspiration and code was taken from many sources, including (in lexicographical order):
* [@cowboy](https://github.com/cowboy) (Ben Alman) https://github.com/cowboy/dotfiles
* [@holman](https://github.com/holman) (Zach Holman) https://github.com/holman/dotfiles
* [@mathiasbynens](https://github.com/mathiasbynens) (Mathias Bynens) https://github.com/mathiasbynens/dotfiles
* [@necolas](https://github.com/necolas) (Nicolas Gallagher) https://github.com/necolas/dotfiles
* [@wmorgan](https://github.com/wmorgan) (William Morgan)