- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- the use of find
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
Discussions
Discussions
Forums
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
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
тАО07-19-2004 06:04 PM
тАО07-19-2004 06:04 PM
the use of find
- Tags:
- find
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 06:25 PM
тАО07-19-2004 06:25 PM
Re: the use of find
There is no way to specify time of file creation. Only date.
The possible usage is:
find . -name "*something*" -ctime -1 -ls
This will give you a list of files, created today and yesterday.
If you need this operation to run periodically, you should use pipeline to sort output.
Best regards,
Dmitry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 06:33 PM
тАО07-19-2004 06:33 PM
Re: the use of find
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 06:56 PM
тАО07-19-2004 06:56 PM
Re: the use of find
If you`re sure that you`ll delete what you exactly want. You can execute find this way:
#find .... -exec \ rm {} \;
But I would like to recommend you to check the list first and than kill your files manually.
Dmitry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2004 12:25 AM
тАО07-20-2004 12:25 AM
Re: the use of find
what Dmitry says is not correct. While find itself has no means to find files on an hour base, it has options to compare with a reference file with -newer.
This reference file can be created/updated by touch.
So create/update with touch two reference files, once with date 2004-jun-20 20:00:00 and the other with 22:00:00
Then use -newer and ! -newer to find your files.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2004 12:41 AM
тАО07-20-2004 12:41 AM
Re: the use of find
I also think, that your proposal is better, but i didn`t use this way on practise.
Dmitry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2004 01:15 AM
тАО07-20-2004 01:15 AM
Re: the use of find
no offense meant!
;-)
Michael