Tôi có một thư mục:
$ tree
.
|-- CVS
|   |-- Entries
|   |-- Entries.Log
|   |-- Repository
|   `-- Root
|-- dirA
|   |-- CVS
|   |   |-- Entries
|   |   |-- Repository
|   |   `-- Root
|   |-- file1
|   `-- file2
|-- dirB
|   |-- CVS
|   |   |-- Entries
|   |   |-- Repository
|   |   `-- Root
|   |-- file3
|   `-- file4
|-- file5
`-- file6
Tôi có thể tìm thấy tất cả các tệp tôi muốn xóa bằng lệnh này:
$ find . -name CVS -prune -o -type f -print
Nhưng nếu tôi đổi -printthành-delete
$ find . -name CVS -prune -o -type f -delete
Mọi thứ đã biến mất. Tại sao?