* SUMMARY: Deleting files.
@ 2003-02-22 11:07 Naidu V. T.
0 siblings, 0 replies; only message in thread
From: Naidu V. T. @ 2003-02-22 11:07 UTC (permalink / raw)
Many Thanks to Kevin Fleming,Phil Baldwin,Premjit Nair and Michael James Bradford.
Original Question : > I am looking for a script which can delete files which are 7 days
older with regard to the current system time.
Ans: # accesses more than 7 days ago find /some_path -atime +7 -exec rm {} \;
# created more than 7 dyas ago find /some_path -ctime +7 -exec rm {} \;
Regards,
>
Naidu V.T
Senior Support Engineer
naidu@ohitelecom.com
OHI Telecommunications
Phone : +968-603606 EXT 118
Mobile : +968-9443591
Fax : +968-603608
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-22 11:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-22 11:07 SUMMARY: Deleting files Naidu V. T.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox