bash find delete directory code example Example: show directories before deleting them find unix find . -iname .DS_Store -delete -print