- 论坛徽章:
- 0
|
man find
Example 3: Printing all file names but skipping SCCS direc-
tories Recursively print all file names in the current directory
and below, but skipping SCCS directories:
example% find . -name SCCS -prune -o -print
Example 4: Printing all file names and the SCCS directory
name
Recursively print all file names in the current directory
and below, skipping the contents of SCCS directories, but
printing out the SCCS directory name:
example% find . -print -name SCCS -prune
好好研究一下,看是否符合你的要求,我E问太菜了 |
|