HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find all files created within a date and TI...
Operating System - HP-UX
1834554
Members
3913
Online
110069
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
05-27-2002 01:23 AM
05-27-2002 01:23 AM
I need to write a routine that gets a date and time range and then finds all files created or modified within that time.
In VMS this was v easy but Unix does not seem to be able to find files based on time (unless other files are used to base times on)
Any ideas on a way forward woould be much appreciated...
In VMS this was v easy but Unix does not seem to be able to find files based on time (unless other files are used to base times on)
Any ideas on a way forward woould be much appreciated...
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2002 01:29 AM
05-27-2002 01:29 AM
Re: How to find all files created within a date and TIME range
Hi
Have a look at Man find for atime ctime and mtime.
Paula
Have a look at Man find for atime ctime and mtime.
Paula
If you can spell SysAdmin then you is one - anon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2002 01:37 AM
05-27-2002 01:37 AM
Re: How to find all files created within a date and TIME range
hi,
#man find
use options like -mtime and -ctime
regards,
U.SivaKumar
#man find
use options like -mtime and -ctime
regards,
U.SivaKumar
Innovations are made when conventions are broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2002 02:00 AM
05-27-2002 02:00 AM
Solution
Hi Peter,
this is no problem in UNIX too:
man touch
--> touch time_format reference_file
you simply create a file with a time stamp you need, and after that you use the find- command to search for all files you need. You can use the logical and- operator for find to make a time frame.
Allways stay on the bright side of life!
Peter
this is no problem in UNIX too:
man touch
--> touch time_format reference_file
you simply create a file with a time stamp you need, and after that you use the find- command to search for all files you need. You can use the logical and- operator for find to make a time frame.
Allways stay on the bright side of life!
Peter
I'm learning here as well as helping
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP