functions: Add clean raw images messages
This commit is contained in:
parent
910ce30ea9
commit
03cd64b292
|
@ -135,7 +135,11 @@ cleanup()
|
||||||
|
|
||||||
cleanraw()
|
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
|
# shellcheck disable=SC2317
|
||||||
|
|
Loading…
Reference in a new issue