Skip to content

Instantly share code, notes, and snippets.

View tomhockett's full-sized avatar
🐺
In Yellowstone

Tom Hockett tomhockett

🐺
In Yellowstone
View GitHub Profile
@tomhockett
tomhockett / scratch
Last active August 19, 2023 18:29
Bash Scratchpad
#!/bin/bash
if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
echo " ---------------------------------------"
echo "Usage: scratch <file_type>"
echo " scratch open [last|folder]"
echo " scratch trash [last|all]"
echo " scratch list"
echo " scratch list <file_type>"
echo " ---------------------------------------"