1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
mkdir dirtest >dirtest/z.tmp echo */z.tmp echo */z.* echo */?.* echo */z*p echo d*r*e*t/z*p echo *"/z.t"mp echo */z"."* echo *"/z"*"p" echo "d"*r*e*t"/"z*p echo echo \*/z.tmp echo "*"/z.* echo */"?".* echo */z"*p" echo d*r*e\*t/z*p echo *"\\/z.t"mp echo */z".*" echo *"/z"\*"p" echo "d*"r*e*t"/"z*p rm dirtest/z.tmp rmdir dirtest