RM RF excepto un directorio
#bash
shopt -s extglob
cd parent
rm -rf !(four)
Lazy Lizard
#bash
shopt -s extglob
cd parent
rm -rf !(four)