lazypwny751 / tempd

Create temp directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tempd

a simple shell library for generate temp directory, alternative for "mktemp -d"

Installation

git clone https://github.com/lazypwny751/tempd.git
cd tempd
bash missing.sh
sudo make all

Usage

you can source the library in a shell script also you use it directly.

source /usr/local/lib/bash/5.1/tempd.sh
tempd.create export
rm -rf "${TEMPD}"
export TEMPD="$(tempd.create)"
rm -rf "${TEMPD}"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL3

About

Create temp directory

License:GNU General Public License v3.0


Languages

Language:Shell 85.5%Language:Makefile 14.5%