# 현재 폴더 내에 파일 검색 (하위폴더 포함)
find .

 

# 현 폴더 이하 생성된지 7일 이하 파일 찾기
find -type f -ctime -7
# 현 폴더 이하 7일 이내로 수정된 파일 찾기
find -type f -mtime -7

 

# 현 폴더 내에 파일 총 개수 찾기
find "path" -type f | wc -l

 

'Basic > shell' 카테고리의 다른 글

[Shell] netstat  (0) 2020.02.12
[Shell] -ksh {파일명}.sh: not found  (0) 2019.09.05
[Shell] rsync  (0) 2019.09.03
[Shell] Exception Handling  (0) 2019.08.12
[shell] value too great for base (error token is "08")  (0) 2019.07.07

+ Recent posts