On my box your script would thus remove many directories that should stay.
So rather rely on mtime.
In reply to Re^2: rm old directory by moritz in thread rm old directory by Anonymous Monk