functions: Add clean raw images messages

This commit is contained in:
timoxa0 2024-11-02 22:37:53 +05:00
parent 910ce30ea9
commit 03cd64b292

View file

@ -135,7 +135,11 @@ cleanup()
cleanraw()
{
rm ./raw/* -f
find ./raw/ -mindepth 1 -maxdepth 1 | read || {
[ -z ${quiet+x} ] && log "Nothing to clean" error
return 0
}
rm ./raw/* -f && log "Done!"
}
# shellcheck disable=SC2317