find排除某个目录加不加-print的区别
[pan.xie@wellav test]$ tree
.
|-- T4
| `-- Touch4
|-- t1
| `-- touch1
|-- t2
| `-- touch2
`-- t3
`-- touch3
4 directories, 4 files
[pan.xie@wellav test]$ find ./ -path "./t1" -prune -o -name "touch*" -print
./t2/touch2
./t3/touch3
[pan.xie@wellav test]$ find ./ -path "./t1" -prune -o -name "touch*"
./t2/touch2
./t1
./t3/touch3
[pan.xie@wellav test]$
如上,不加的话为什么./t1会出来,不是已经被排除掉了吗?