Hi Joey, > Hmm, and dirempty is just ! exists foo/* && ! exists foo/.* , right?
Maybe "exists -d foo" would be nicer for this. In many applications, "exists 'foo/*'" would do the job okay enough (if you don't plan to rm the directory) best regards, Erich Schubert -- erich@(vitavonni.de|debian.org) -- GPG Key ID: 4B3A135C (o_ To be trusted is a greater complement than to be loved. //\ Man kann sich auch in Gesellschaft anderer einsam fühlen. Weizsäcker V_/_