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.
shelltools is go get-able.
go get github.com/rsdoiel/shelltools/...
Or see INSTALL.md for details for installing compiled versions of the programs.