- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: locate files created after a certain date
Operating System - HP-UX
1753902
Members
9324
Online
108810
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2004 11:38 AM
тАО10-06-2004 11:38 AM
locate files created after a certain date
Hi,
I am writing a script which requires listing of files that are created after a certain date. Also, I want to take the date as the input to this script.
Can anyone please help.
Thanks,
Rahul
I am writing a script which requires listing of files that are created after a certain date. Also, I want to take the date as the input to this script.
Can anyone please help.
Thanks,
Rahul
- Tags:
- date arithmetic
- find
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2004 02:11 PM
тАО10-06-2004 02:11 PM
Re: locate files created after a certain date
Sorry, there is no way to do this because the file creation time is not carried as part of the file's metadata. You only know the creation time by accident if one of the 3 timestamps (mtime - modification, ctime - change time (meaning mode or ownership change), or atime (access time) happens to coincide with the actual time the file was created. You need to change your question. If you can change your question to use one of the 3 timestamps then the find command can be of help. Man find for details and examples.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2004 02:17 PM
тАО10-06-2004 02:17 PM
Re: locate files created after a certain date
Rahul,
Please try the 'more options' = advanced search at the top of the page.
Search for 'find date'
- all words
- hpux
- subject only
You'll find dozens of prior questions and answers in this space. Sneak preview of the most common answer:
- Use 'touch' to create a file with the desired reference date
- Use 'find -newer' to compare against the date of the reference files.
The man pages will explain details...
Hein.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP