GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - completeworks/bashtools: A collection of Bash scripts to be reused

BranchesTags
Open more actions menu

Latest commit

 

History

46 Commits
46 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
OS.shsource
OS.shsource
 
 
README.md
README.md
 
 
_bootstrap.shsource
_bootstrap.shsource
 
 
archive
archive
 
 
bashtools
bashtools
 
 
download
download
 
 
github
github
 
 
gitw
gitw
 
 
install.sh
install.sh
 
 
logger.shsource
logger.shsource
 
 
stacktrace.shsource
stacktrace.shsource
 
 
strict-mode.shsource
strict-mode.shsource
 
 
versions
versions
 
 

Repository files navigation

bashtools

A collection of Bash scripts to be reused

Install

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/completeworks/bashtools/master/install.sh)"

Usage (example)

#! /usr/bin/env bash

# shellcheck disable=SC1090
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/.bashtools/bashtools"

gitw sparsecheckout https://github.com/google/jsonnet.git .jsonnet

Available commands

Default brings logger support. See https://github.com/completeworks/b-log#examples for details. No need to source it, it's made available from the bashtools script.

  • gitw sparsecheckout <remote> <path:.> <branch:master>
  • download withcache <url> <output> <cache_duration_sec:24h> <lastchecked_file:${output}.lastchecked>
  • download ifmodified <url> <output> <etag_file:${output}.etag>
  • version compare <version1> <version2>

About

A collection of Bash scripts to be reused

Resources

Readme
EPL-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.