Skip to content

Instantly share code, notes, and snippets.

@bignay2000
bignay2000 / purge.go
Created February 12, 2017 12:29 — forked from ShawnMilo/purge.go
purge old files
package main
import (
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"path/filepath"
"time"
@bignay2000
bignay2000 / install_jenkins_plugin.sh
Last active September 4, 2018 18:34 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=~/desktop/test