Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.02 KB

shelltools

Various utilities for simplifying work on the command line.

  • findfile - find files based on prefix, suffix or contained string
  • finddir - find directories based on prefix, suffix or contained string
  • mergepath - prefix, append, clip path variables
  • range - emit a range of integers (useful for numbered loops in Bash)
  • reldate - display a relative date in YYYY-MM-DD format
  • timefmt - format a time value based on Golang's time format language
  • urlparse - split a URL into parts

Compiled versions are provided for Linux (amd64), Mac OS X (amd64), Windows 10 (amd64) and Raspbian (ARM6, ARM7). See https://github.com/rsdoiel/shelltools.

Use the utilities try "-help" option for a full list of options.

Installation

shelltools is go get-able.

    go get github.com/rsdoiel/shelltools/...

Or see INSTALL.md for details for installing compiled versions of the programs.