arrowgent / Twitchtv-Bots-List

a list of (unwanted) known twitch bots that lurk in every channel...
The Unlicense
59 stars 20 forks source link

[script]: enable tmpfs for file management #5

Open arrowgent opened 2 years ago

arrowgent commented 2 years ago

BOT NAME

me you i we they

verify

change $HOME folder for writing files to a tmpfs to reduce writing to disk/ssd hold everything in ram, possibly faster only need 1-5mb ram to work on files

caveats? need to write final files to disk for storage. otherwise destroy tmpfs once its usage is complete might require sudo, if it requires sudo then abandon idea...

Version

user

What system are you seeing the bot on?

Botlist

log output

No response

CODE

arrowgent commented 2 years ago

possibly use...

TMPDIR="$(mktemp -d)"
"${TMPDIR}"