Find Files that are Modified Today (or Since Certain Time Ago) in Unix 수정된 파일을 찾아 오늘 (또는 특정 시간 전) 이후 유닉스에서
To find all files that was modified since a specific time ago (ie an hour ago, a day ago, 24 hours ago, a weeks ago and so on) in Unix environment, the find command will come in handy. ) 유닉스 환경에서 그 이후로 특정 시간 전에 (즉, 한 시간 전, 하루 전, 24 시간 전, 한 주 전에 너무에 수정된 파일을 모두 찾으려면 명령을 편리하게 찾아 올 것이다. The command syntax is: 명령 구문입니다 :
To find all files modified in the last 24 hours (last full day) in current directory and its sub-directories: 지난 24 시간 동안 모든 파일을 현재 디렉토리와 그 하위에 (어제 하루 종일) - 디렉토리 : 수정된를 찾으려면
find . 찾기. -mtime -1 -print - mtime -1 - 인쇄
Flag -mtime -1 option tells find command to look for files modified in the last day (24 hours). 플래그 - mtime -1 옵션 파일을 마지막 하루 (24 시간)에 수정된를 찾아 명령을 찾을 수있다. Flag -print option will cause find command to print the files’ location. 플래그 - 인쇄 옵션을 일으킬 것이다 파일 '위치에 인쇄 명령을 찾을 수있다. -print can be replaced with -ls if you want a directory-listing-type response. - 지문으로 대체 될 수 -인가하면 디렉토리 - 리스팅 - 타입 응답 싶어요.
To find all files modified in the last 24 hours (last full day) in a particular specific directory and its sub-directories: 지난 24 시간 동안 모든 파일을 특정 특정 디렉토리와 그 하위에 (어제 하루 종일) - 디렉토리 : 수정된를 찾으려면
find /directory_path -mtime -1 -print 찾기 / directory_path - mtime -1 - 인쇄
The command is basically the same with the earlier command, just that now you no need to cd (change directory) to the directory you want to search. 명령은 기본적으로 같은 이전 명령과 함께, 그냥 이젠 자네가 검색하고자하는 디렉토리로 (변경 디렉터리)를 CD로 필요하다.
To find all files with regular file types only, and modified in the last 24 hours (last full day) in current directory and its sub-directories: 일반적인 파일 형식의 유일한, 그리고 마지막 24 시간을 현재 디렉토리와 그 하위에 (어제 하루 종일) - 디렉토리 :에 수정된 모든 파일을 찾으려면
find /directory_path -type f -mtime -1 -print 찾기 / directory_path - 타입의 F - mtime -1 - 인쇄
To find all files that are modified today only (since start of day only, ie 12 am), in current directory and its sub-directories: 오늘 수정된있는 모든 파일을 찾으려면 (하루의 시작 이후에만, 즉 자정), 현재 디렉토리와 그 하위에 - 디렉토리 :
touch -t `date +%m%d0000` /tmp/$$ 터치 - T는`데이트 + % 난 % d0000`는 / tmp / $ $
find /tmefndr/oravl01 -type f -newer /tmp/$$ 찾기 / tmefndr/oravl01 - 타입의 F - 최신는 / tmp / $ $
rm /tmp/$$ 연합 뉴스는 / tmp / $ $
The first command can be modified to specify other date and time, so that the commands will return all files that have changed since that particular date and time. 첫 번째 명령을 다른 날짜와 시간을 지정할 수 있도록 명령이 그 특정 날짜와 시간 이후로 변경된 파일을 모두 반환됩니다 수정할 수있습니다.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 중요 :이 기계는 "보증도없이있는 그대로"제공됩니다 페이지를 번역했다. Machine translation may be difficult to understand. 기계 번역을 이해하기 어려울 수있습니다. Please refer to 을 참조하시기 바랍니다 original English article 원래 영어 문서 whenever possible. 언제든 가능합니다.
Share and contribute or get technical support and help at 공유와 기여하거나 기술 지원과에 도움이 My Digital Life Forums 내 디지털 생활 포럼 .
Related Articles 관련 기사
- How to Turn Off and Skip MSN/Windows Live Hotmail Today News Direct to Inbox 해제하는 방법과 스킵 MSN / 윈도우 라이브 핫메일받은 편지 함으로 직접 투데이 뉴스
- Shadow Copy and Salvage Previous Versions of Files in Windows 2000/XP/Vista with FileHamster FileHamster와 파일의 섀도 복사본은 Windows 2000/XP/Vista에서 이전 버전과 폐품
- Change Group Ownership of Symbolic Links in Unix or Linux 그룹 소유권을 변경 심볼릭 링크의 유닉스 또는 리눅스에서
- Configure, Change or Set OpenOffice.org to Default Save Files in Microsoft Office Formats 구성, 변경 또는 설정 OpenOffice.org 기본 저장할 파일 형식은 Microsoft Office에서
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time 자동 종료하고 다시 시작 아파치 httpd는 서비스 데몬 미리 설정된 시간에
- Battery Pack Pro Reviews 배터리 팩 프로 리뷰
- Refresh Linux or Unix Path Environmental Variables with rehash 새로 고침을 리눅 스나 유닉스 환경 변수를 재탕과 함께 경로
- Upload (mput) and Download (mget) Multiple Files Automatically in FTP Transfer 업로드 (mput)와 다운로드 (mget) 여러 개의 파일을 FTP를 자동으로 전송
- Vista Previous Versions (Shadow Copy) vs Recycle Bin 비스타의 이전 버전 (섀도 복사본)을 휴지통에 대
- Reset the Root Password of MySQL Server MySQL 서버의 루트 암호를 재설

































August 4th, 2007 08:59 8 월 4 일 2007 08:59
Great Thnks! 위대한 Thnks!
May 7th, 2008 15:35 2008년 5월 7일 15:35
Very good article, thanx! 아주 좋은 기사, 고맙습니다!
June 30th, 2008 11:46 6 월 30 일 2008 11:46
[...] References: [...] 참고 : http://www.mydigitallife.info/2006/01/19/find-files-that-are-modified-today-or-since-certain-time-ag.. .. http://www.mydigitallife.info/2006/01/19/find-files-that-are-modified-today-or-since-certain-time-ag . [...]