A cli program to create and edit temporary files
Find a file
2026-03-05 14:28:22 -08:00
LICENSE Initial commit 2026-03-04 23:11:56 -08:00
README.md noted that -o can be used to create a file 2026-03-05 02:10:14 -08:00
skratch.py added filename arg, removed -o 2026-03-05 14:28:22 -08:00

Skratch

A cli program to quickly create and edit temporary files

Requirements: python3 > 3.6

Installation:

mv skratch.py /usr/local/bin/skratch
chmod +x /usr/local/bin/skratch

set an env variable for $EDITOR and/or $VISUAL in .bashrc

export EDITOR=vi
export VISUAL=geany

Usage

skratch creates a random file in .skratch and opens it in the EDITOR

-c clears/deletes all files in .skratch

-l lists files in .skratch

-o <filename> opens (or creates) a file with a specific name

-v opens the VISUAL editor