This question already has an answer here:
It was an old problem. I knew how to delete files and exclude some, like this:
rm `find ~/temporary/Test\ 1 -mindepth 1 -maxdepth 1|grep -v 'A'`
but the problem is the folder 'Test 1' containing a space in name, the result of find was
rm error, how can I fix it?