Skip to content

lazypwny751/tempd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published