RM RF kecuali satu direktori
#bash
shopt -s extglob
cd parent
rm -rf !(four)
Lazy Lizard
#bash
shopt -s extglob
cd parent
rm -rf !(four)