rsdoiel / shelltools

DEPRECATED: A small collection of file and shell related utilities in go. See https://caltechlibrary.github.io/datatools

Home Page:https://caltechlibrary.github.io/datatools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

DEPRECATED: A small collection of file and shell related utilities in go. See https://caltechlibrary.github.io/datatools

https://caltechlibrary.github.io/datatools

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 56.6%Language:HTML 29.2%Language:Makefile 7.3%Language:CSS 3.9%Language:Shell 2.9%