Adds gallery-dl, mmm and utils related scripts

This commit is contained in:
Matheus Albino
2024-06-19 07:57:32 -03:00
parent f4464491bb
commit b415ec004b
3 changed files with 358 additions and 0 deletions

18
scripts/shell/loop.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
command="$@"
if [ -z "$command" ]; then
echo "Please provide a command. Example: loop.sh echo foo"
exit 1
fi
while true; do
clear
eval $command
echo ""
echo "[loop.sh] Done!"
echo "[loop.sh] Press any key to continue..."
read
done