- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Find all the files related to every single fil...
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
тАО02-18-2009 06:28 AM
тАО02-18-2009 06:28 AM
Find all the files related to every single filesystem from Nov 08
How do I list all the files which were modified since Nov 1st 2008. I want the listing from all the filesystems/directories. I tried these two commands from an old message in this forum but I get only a partial result.
#touch -mt 200812060000 myref #find / * -xdev -newer /var/adm/ressspkp/myref -exec ll {} \;
Any input from you would be most appreciated.
Regards,
KGD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 06:33 AM
тАО02-18-2009 06:33 AM
Re: Find all the files related to every single filesystem from Nov 08
# touch -amt 200811010000 /tmp/myref
# find / -xdev -type f -newer /tmp/myref -exec ls -l {} +
Your principal problem is that you found BOTH files and directories by not specifying the '-type f'. Then your 'll' applied to both files AND directories.
Note too, that it is much, much faster to terminate the '-exec' argument with a "+" instead of "\;".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 06:35 AM
тАО02-18-2009 06:35 AM
Re: Find all the files related to every single filesystem from Nov 08
try:
# find / -type f -mtime -110 -exec ll {} \;
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 05:04 PM
тАО02-18-2009 05:04 PM
Re: Find all the files related to every single filesystem from Nov 08
If you also want to find directories, you need to use "ll -d".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 07:03 AM
тАО02-20-2009 07:03 AM