Direktori Kosong Tes Bash
#!/bin/bash
DIR="/empty_dir"
# look for empty dir
if [ "$(ls -A $DIR)" ]; then
echo "Take action $DIR is not Empty"
else
echo "$DIR is Empty"
fi
FishBrawler