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
/home/owner/temporary/Test 1/B
It makes rm error, how can I fix it?