|
Prev: china wholesale cheap nike shoes,cheap nike,cheap nikes,nike jordans sneaker's,cheap nike air force 1s
Next: hay can you remove this post please it was a mistake thank you i was kind of desperate
From: Stephane CHAZELAS on 21 Apr 2008 11:41 2008-04-21, 15:37(+00), Kenny McCormack: > In article <slrng0pcl9.gg3.syscjm(a)sumire.gwu.edu>, > Chris Mattern <matternc(a)comcast.net> wrote: > ... >>Look, Ma, no temp files! >> >>[[ "$(find . -maxdepth 1 -cmin +60 -name file)" = "" ]] && echo "old" > > Let's count the minutes until one of the standards jockeys comes along > and tells you that that requies GNU tools... That requires GNU or FreeBSD tools. And as you pointed out, it should have been find file -prune -cmin +60 -print | grep -q . Or you could have used find file -chour +1 -exit 0 -o -exit 1 If you have the proper implementation/version of find. -- St�phane |