gearsix.net » scripts

scripts

gearsix

A personal collections of scripts I frequently use in my linux development environment.


g6scripts

A collection of personal scripts I use.

contents

  1. overview
  2. installing
  3. uninstall
  4. notes
  5. scripts

overview

I use most of these scripts for convenience and to save on typing.

More recently I've been making an effort to learn PowerShell as I tend to use windows a fair bit too, so there are a few one-off scripts used for that too.

installing

I've created an install script (bash) to help with selecting the scripts you want to install.

usage: ./install [ARGUMENTS] [SCRIPT]

SCRIPTS
  Optionally, you can specify a script to install.
  Any specified scripts must be the filepath to the
  script (not just the filename).

ARGUMENTS
  -f, --force         overwrites files when installing
  -r,   --reinstall   re-install scripts already existing in
              destination directory
  -d, --dest [DEST]   set the install destination
  -a, --all           install ALL the scripts ('y' to all prompts)
  -l, --link          'ln' the script (not cp).
  -h, --help          print this dialog

uninstalling

I'm planning to add an uninstall bash script too, currently you'll have to manually delete all the files added for now though.

notes

I've added -h options to all the scripts.

Personally find grepf and while-true to by the most frequently used.

scripts

strings

Scripts related to string parsing/manipulation

file management

tooling

misc

depreciated

This contains scripts that I once used but eventually realised were useless.

authors