- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Need the list of files which created in specif...
Operating System - Linux
1756925
Members
3654
Online
108857
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО04-16-2008 08:42 AM
тАО04-16-2008 08:42 AM
Re: Need the list of files which created in specific time
Hi:
> I got following error on my system
Can't locate File/Find.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-
You have a very old Perl on your server. The 'File::Find' module wasn't part of the Perl Core distribution at that time.
I suggest that you download and install a current Perl. No reboot is necessary!
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL
...and if per chance this is an old 10.20 system, Merijn has a Perl for that:
http://mirrors.develooper.com/hpux/downloads.html
Perl 5.8.8 is an excellent version for production. Perl 5.10 was recently released too.
Regards!
...JRF...
> I got following error on my system
Can't locate File/Find.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-
You have a very old Perl on your server. The 'File::Find' module wasn't part of the Perl Core distribution at that time.
I suggest that you download and install a current Perl. No reboot is necessary!
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL
...and if per chance this is an old 10.20 system, Merijn has a Perl for that:
http://mirrors.develooper.com/hpux/downloads.html
Perl 5.8.8 is an excellent version for production. Perl 5.10 was recently released too.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2008 06:44 AM
тАО04-25-2008 06:44 AM
Re: Need the list of files which created in specific time
Touch a reference file (say /tmp/ref_file) with a specific timestamp that corresponds to approx 1 hr ago using:
touch -t CCYYMMDDhhmm.SS /tmp/ref_file
run a find:
find start_dir -type f -newer /tmp/ref_file
as per "man find":
-newer file True if the current file has been modified more recently than the argument file.
touch -t CCYYMMDDhhmm.SS /tmp/ref_file
run a find:
find start_dir -type f -newer /tmp/ref_file
as per "man find":
-newer file True if the current file has been modified more recently than the argument file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2008 06:54 AM
тАО04-25-2008 06:54 AM
Re: Need the list of files which created in specific time
> Rangarajan :
Why resurrect a 10-day old thread that has a bunny and for which your alternate proposal was first suggested by someone else on the opening day?
While 'find -newer ...' certainly works, it doesn't provide the moving window of time yielded by the Perl snippet I showed. Of course, you could wrap a 'touch' and a 'find' in a small shell script that creates the reference point; performs the 'find' and then removes the (then) useless reference file.
Regards!
...JRF...
Why resurrect a 10-day old thread that has a bunny and for which your alternate proposal was first suggested by someone else on the opening day?
While 'find -newer ...' certainly works, it doesn't provide the moving window of time yielded by the Perl snippet I showed. Of course, you could wrap a 'touch' and a 'find' in a small shell script that creates the reference point; performs the 'find' and then removes the (then) useless reference file.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2008 02:28 AM
тАО04-28-2008 02:28 AM
Re: Need the list of files which created in specific time
Thanks all of you for your information
Work is life, you know, and without it, there's nothing but fear and insecurity.
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP