RM RF sauf un répertoire
#bash
shopt -s extglob
cd parent
rm -rf !(four)
Lazy Lizard
#bash
shopt -s extglob
cd parent
rm -rf !(four)