Return to Snippet

Revision: 6698
at June 9, 2008 05:10 by olive


Initial Code
cd /data2/backup/

if [ -z `ls * 2>/dev/null` ]; then
    echo "vide"
else
    echo "non vide"
fi

Initial URL

                                

Initial Description

                                

Initial Title
Tester si un repertoire est vide

Initial Tags

                                

Initial Language
Bash