Find Files that are Modified Today (or Since Certain Time Ago) in Unix今日の更新ファイルが含まれて見つける(または以来、特定の時間前)の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.更新されたすべてのファイルを見つけて以来、特定の時間前(すなわち、 1時間前に、一日前に、 24時間前は、週前など)のUNIX環境では、 findコマンドには重宝する。 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オプションはfindコマンドを探して修正されたファイルの最終更新日( 24時間) 。 Flag -print option will cause find command to print the files’ location.フラグ-印刷オプションが原因findコマンドファイルを印刷するに'場所です。 -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: すべてのファイルを見つけるには今日の更新のみ( 1日のみの開始以来、すなわち午前12時)は、カレントディレクトリとそのサブディレクトリ:

touch -t `date +%m%d0000` /tmp/$$ タッチ-トンメートル% `日付+ % d0000 ` / tmpの/ $ $
find /tmefndr/oravl01 -type f -newer /tmp/$$ 検索/ tmefndr/oravl01 -タイプF -新しい/ tmpの/ $ $
rm /tmp/$$ rm / 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 私のデジタルライフフォーラム .です。



3 Responses to “Find Files that are Modified Today (or Since Certain Time Ago) in Unix” 3つの応答を"今日の更新ファイルが含まれて見つける(または以来、特定の時間前)のUNIX "

  1. iPAS ipas
    August 4th, 2007 08:59 2007年8月4日08:59
    1

    Great Thnks!大きなthnks !

  2. einsteinアインシュタイン
    May 7th, 2008 15:35 2008年5月7日15:35
    2

    Very good article, thanx!非常に良い記事のthanx !

  3. Finding files modified since a certain time « Tech Notes @ Fernvaleファイルの更新以来、特定の時間を見つける«技術ノート@ fernvale
    June 30th, 2008 11:46 2008年6月30日11:46
    3

    [...] 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 .. .です。 [...]

Leave a Reply残して返信

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> これらのタグを使用することができます: <aのhref=のtitle= <abbrのtitle= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

linux find files modified today Linuxのファイル検索今日の更新 - - unix find files modified today UNIXのファイル検索今日の更新 - - find files modified today 今日の更新ファイル検索 - - unix find recent files UNIXの最近のファイルを見つける - - linux find files created today 今日の作成Linuxのファイル検索 - - linux find modified Linuxの検索更新 - - unix find files created today 今日の作成UNIXのファイル検索 - - find files created today 今日作成したファイル検索 - - linux find last modified files Linuxのファイルの最終更新日を検索 - - unix find mtime UNIXの検索にmtime - - linux find last modified Linuxの検索最終更新日 - - unix list files by date UNIXのリストファイルを日付で - - find modified 検索更新 - - linux find modified files Linuxの変更されたファイルを検索 - - find last modified 最終更新日を検索 - - unix file date UNIXのファイルの日付 - - unix find last modified UNIXの最終更新日を検索 - - linux find files modified Linuxのファイル検索更新 - - linux find changed files Linuxの変更されたファイルを検索 - - linux find modified date Linuxの検索更新日 - - unix find files modified since UNIXのファイル検索更新以来 - - unix find files by date UNIXのファイルを日付で検索 - - linux find last modified file Linuxのファイルの最終更新日を検索 - - unix find today 今日のUNIX見つける - - find files changed today 今日のファイルが変更されました - - unix find files changed today 今日UNIXのファイル検索が変更されました - - find modified time 検索更新時間 - - linux find files modified date Linuxのファイル検索更新日 - - unix find file by date UNIXのファイルを見つける日 - - all すべての - - unix file modified time UNIXのファイルの更新時刻 - - linux find date modified Linuxの検索更新日時 - - unix find hours UNIXの検索時間 - - list files by date in unix リストファイルを日付でのUNIX - - find modified files 変更されたファイルを検索 - - find files modified today linux 今日のLinuxのファイル検索更新 - - find files created today linux 今日のLinuxの作成、ファイル検索 - - unix find modified today 今日のUNIX見つける更新 - - unix find last modified files UNIXのファイルの最終更新日を検索 - - find recent files unix 最近のファイルを見つけるのUNIX - - unix find modified date UNIXの検索更新日 - - unix find file date UNIXのファイルの日付を検索 - - linux find last changed files Linuxの最終更新変更されたファイルを検索 - - linux last modified files Linuxのファイルの最終更新日 - - unix find files today 今日UNIXのファイル検索 - - last modified file in unix UNIXのファイルの最終更新日 - - unix file modified date UNIXのファイルの更新日時 - - Linux find files modified by date Linuxのファイル検索変更された日付 - - linux find all files modified today 今日のLinuxのすべてのファイルを更新 - - find last modified files linux 最終更新ファイルを見つけるのLinux - - find modified today 今日の検索更新 - - find last modified files 最終更新ファイルを見つける - - unix modified date UNIXの更新日時 - - UNIX find date UNIXの検索日付 - - unix find files modified UNIXのファイル検索更新 - - unix find file modified today UNIXのファイル検索今日の更新 - - linux find by modified date Linuxの検索を更新日時 - - linux find files modified on date Linuxのファイル検索に改訂された日付 - - linux find modified today 今日のLinux見つける更新 - - UNIX last modified date UNIXの最終更新日 - - linux find files date modified Linuxのファイル検索更新日時 - - find last modified file linux 最終更新日linuxファイルを検索 - - find mtime hours 検索時にmtime - - unix find hour UNIXの検索時間 - - find modified date 検索更新日時 - - find last modified file unix 最終更新ファイルを見つけるのUNIX - - unix file modification date UNIXのファイルの更新日時 - - unix find all files modified today UNIXのすべてのファイルを更新今日 - - unix find by date UNIXの日付による検索 - - unix get file date UNIXのファイルの日付取得 - - find files time ファイル検索時間 - - file modified date unix ファイルの更新日時のUNIX - - linux list files created today 今日のLinuxのリストファイルを作成 - - find changed files 変更されたファイルを検索 - - linux find files changed since Linuxのファイル検索変わっ - -