2011年3月24日星期四

automatically find the path for a specific file name

# automatically find the path for a specific file name
find -type f -name "insertion.txt"

# count how many files found
find -type f -name "insertion.txt" | wc -l

没有评论:

发表评论