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). -1 - العلم mtime الخيار يروي ايجاد قيادة للبحث عن ملفات معدله في اليوم الاخير (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. - طباعة ويمكن الاستعاضه عن LS - اذا كنت تريد دليل من القائمة نوع الاستجابة.
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. القيادة هي اساسا نفس الشىء مع القيادة في وقت سابق ، الآن فقط ان كنت لا حاجة الى مؤتمر نزع السلاح (تغيير الدليل) الى الدليل تريد البحث عنها.
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 من نوع اف -1 - mtime طباعة
To find all files that are modified today only (since start of day only, ie 12 am), in current directory and its sub-directories: العثور على جميع الملفات التي تم تعديلها الا اليوم (ومنذ بداية اليوم فقط ، اي 12 صباحا) ، في دورته الحالية دليل والادله الفرعية :
touch -t `date +%m%d0000` /tmp/$$ - اتصال ر `التاريخ + ٪ ذكور ٪ d0000` / tmp / $ $
find /tmefndr/oravl01 -type f -newer /tmp/$$ العثور على / tmefndr/oravl01 من نوع (اف احدث / 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 المادة الاصليه English 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 / Hotmail رياضة ويندوز لايف اخبار اليوم مباشرة الى البريد الوارد
- Change Group Ownership of Symbolic Links in Unix or Linux تغيير ملكيه مجموعة من الروابط الرمزيه في يونكس او لينكس
- Shadow Copy and Salvage Previous Versions of Files in Windows 2000/XP/Vista with FileHamster نسخة الظل وانقاذ الاصدارات السابقة من الملفات في ويندوز 2000/xp/vista مع filehamster
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time السيارات اغلاق واعادة تشغيل اباتشي httpd خدمة الشيطان في وقت محدد مسبقا
- Refresh Linux or Unix Path Environmental Variables with rehash تحديث الطريق لينكس او يونيكس مع المتغيرات البيءيه اعد قولبة
- Battery Pack Pro Reviews حزمة بطاريه الموالية للإستعراضات
- Configure, Change or Set OpenOffice.org to Default Save Files in Microsoft Office Formats تكوين او تغيير او مجموعة openoffice.org الافتراضي لحفظ الملفات في شكل مايكروسوفت اوفيس
- Upload (mput) and Download (mget) Multiple Files Automatically in FTP Transfer تحميل (mput) وتحميل (mget) تلقائيا في ملفات متعددة بروتوكول نقل الملفات نقل
- Vista Previous Versions (Shadow Copy) vs Recycle Bin الاصدارات السابقة فيستا (نسخة الظل) مقابل بن لاعادة تدوير
- Display and View FireFox Cache Files Without Browser Cache Viewer ونظرا لعرض الملفات دون فايرفوكس مخبأ مخبأ المتصفح المشاهد

































August 4th, 2007 08:59 الرابع من آب / اغسطس ، 2007 08:59
Great Thnks! Thnks العظيم!
May 7th, 2008 15:35 ايار / مايو 7th ، 2008 15:35
Very good article, thanx! المادة جيدة جدا ، thanx!
June 30th, 2008 11:46 يونيو 30th ، 2008 11:46
[...] References: [...]المراجع : http://www.mydigitallife.info/2006/01/19/find-files-that-are-modified-today-or-since-certain-time-ag.. . [...]