Move to your target directory and execute this command
# du -la | sort -n
# echo $?
echo the last result of executed command. 0= ok, else error