- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- finding files for a particular date
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
08-10-2005 05:05 AM
08-10-2005 05:05 AM
I mean i need to find files created on a particular date ?
Any help appreciated.
Thanks and regards,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 05:16 AM
08-10-2005 05:16 AM
Re: finding files for a particular date
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 05:19 AM
08-10-2005 05:19 AM
Re: finding files for a particular date
find / -newer /tmp/dummy | xargs ls -l > /tmp/newer_filelist
by modifying the touch date you can control the creation date. Then you need to sort this output according to date to get the single date you want on the top.
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 05:24 AM
08-10-2005 05:24 AM
Re: finding files for a particular date
how about this fresh link?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=946914
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 05:32 AM
08-10-2005 05:32 AM
Re: finding files for a particular date
touch -t CCYYMMDDHHMM day_before_file
touch -t CCYYMMDDHHMM day_after_file
find /start_dir \( -newer day_before_file -a ! -newer day_after_file \) -exec ll {} \;
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 05:38 AM
08-10-2005 05:38 AM
Re: finding files for a particular date
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=181099
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 05:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 07:15 AM
08-10-2005 07:15 AM
Re: finding files for a particular date
hmmm, how to break the bad news...
Keep in mind that unix does not store any information about the creation date of files.
When a file is created the timestamp for inode information (access rights, ownership etc.) is registered, and looking at this may be your nest chance.
This of course assumes that inode information has not been changed since creation - rather doubtful - but it is probably your best chance. Try Pete Randall's find suggestion adding the -ctime option.
regards,
John K.