/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
cd /data2/backup/ if [ -z `ls * 2>/dev/null` ]; then echo "vide" else echo "non vide" fi