Read more
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Find all the files related to every single filesys...
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
Find all the files related to every single filesystem from Nov 08
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-20-2009 07:03 AM
02-20-2009 07:03 AM
Re: Find all the files related to every single filesystem from Nov 08
Re: Find all the files related to every single filesystem from Nov 08
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP