1827294 Members
3519 Online
109717 Solutions
New Discussion

Re: find --mmin

 
Maicon Stihler
Advisor

find --mmin

Hi,

does someone knows how can I reproduce gnu's find "--mmin" option using hp-ux's find?
5 REPLIES 5
Gordon  Morrison
Trusted Contributor

Re: find --mmin

What does --mmin do?
What does this button do?
Pete Randall
Outstanding Contributor

Re: find --mmin

I'm not familiar with it - what does it do?


Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: find --mmin

Hi,

Install findutils

http://hpux.cs.utah.edu/hppd/hpux/Gnu/findutils-4.1.5/

Or try something like this.

# touch -m xxx /tmp/ref
# find / -newer /tmp/ref

Regards,
Robert-Jan
harry d brown jr
Honored Contributor

Re: find --mmin

You "touch" (man touch) a bogus file name with a time stamp then use -mtime to search, or you simply install gnu's find!

touch -t [[CC]YY]MMDDhhmm[.SS] somefile

find . -newermm somefile -exec ls -l {} \;

http://hpux.ee.ualberta.ca/hppd/hpux/Gnu/findutils-4.1.5/

live free or die
harry d brown jr
Live Free or Die
Maicon Stihler
Advisor

Re: find --mmin

-mmin n
File's data was last modified n minutes ago.

sadly, findutils is not an option :/
boss says "no, use only hp-ux tools, no other packages"
it would be so easy if they let me install other packages.