- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Files searching
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
09-28-2006 06:31 PM
09-28-2006 06:31 PM
I want to search what are the files modified or created on particular period. Like Sep-10-06 to Setp-15-06. Give me some examples.
Regards,
Sudhakaran.K
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2006 06:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2006 07:17 PM
09-28-2006 07:17 PM
Re: Files searching
Build two files with touch : first for begin date second for end date and find with newer option :
touch -t 200609100000 filestart
touch -t 200609150000 filestop
find / -type f -newer filestart -a ! -newer filestop -exec ls -l {} \;
Regards,
Joel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2006 11:17 PM
09-28-2006 11:17 PM
Re: Files searching
Also there are some other examples on this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048222
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2006 11:36 PM
09-28-2006 11:36 PM
Re: Files searching
What output I will get If I execute this one?
Can u explain this command?
Regards,
Sudhakaran.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2006 11:58 PM
09-28-2006 11:58 PM
Re: Files searching
For more useful examples see man find.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2006 11:59 PM
09-28-2006 11:59 PM
Re: Files searching
It will find the files created/modified newer than 20 days and older than 5 days.
Today is 29 Sep the commands will find files created before 23 Sep and after 9 Sep
Regards,
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2006 08:21 PM
10-01-2006 08:21 PM
Re: Files searching
I agree with Joel's solution, but with a little enhancement:
instead of:
find / -type f -newer filestart -a ! -newer filestop -exec ls -l {} \;
use:
find / -type f -newer filestart -a ! -newer filestop |xargs -i ll {}
this is quicker than previous and uses less system resources. -exec create every time a new process.
HTH,
Art