Search for files modified within a certain time point and for files modified within a specified range

Source: Internet
Author: User

Search for files modified within a certain time point and for files modified within a specified range

Due to insufficient disk space, you often need to delete the old files. Therefore, you want to have a function to find and delete the files before a certain time point.

If newLISP is used for implementation, such functions are required:

(FILE: locate-modified-file-path start-time end-time)

Start-time refers to the start of the modification time, and end-time refers to the end of the modification time. According to the habit, This is a left closed and right open interval: [start-time, end-time), both of which are expressed using epoch.

If yes, true is returned; otherwise, nil is returned.



How can I find a file that has been changed in a certain period of time?

If Windows 7 is used, open the folder of the file you want to search for. There is a search box in the upper-right corner. Click it and there is a date modification option. You can select a date or a date range, in the date range, press shift to select the start and end dates.

How can I find a file that has been changed in a certain period of time?

Run the following command to obtain the file information modified by all branches within a certain period of time: + d8 C $ ~ 1 N/f6 l
Cleartool find finds the Dev path-type f-version "created_since (beginning time )&&(! Created_since (ending time) "-print
"V z # T6 e, l ${9 C * m such as: cleartool find D: \ Dev \ A \ ADB \ 01 STAR-type f-version" created_since (2-Sep-2010.14: 00: 00 )&&(! Created_since (2-Sep-2010.15: 30: 00) "-print7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.