Categorygithub.com/caltechlibrary/shelltools
modulepackage
0.0.14
Repository: https://github.com/caltechlibrary/shelltools.git
Documentation: pkg.go.dev

# README

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/caltechlibrary/shelltools.

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

Installation

shelltools is go get-able.

    go get github.com/caltechlibrary/shelltools/...

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

# Packages

No description provided by the author
Package reldate generates a date in YYYY-MM-DD format based on a relative time description (e.g.
timefmt provides additional common formats found around the web that are missing from Golang's own time package.

# Constants

No description provided by the author
No description provided by the author