cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

check for directory "emptiness" with ACL?

naglists
1-Newbie

check for directory "emptiness" with ACL?

Hi,

I would like to throw a message when an author closes Editor if a particular
directory is not empty. Ideally, I would test and response() in ACL. Does
ACL have any native commands that will test for directory emptiness? I can't
find one and, frankly, am not sure I think it *should* be possible.

--
Paul Nagai
2 REPLIES 2

Try calling glob("your path here/*",A) where A is an empty array and see
if you get 0 back as the return from glob. One of the odder functions,
shows ACL's roots in Perl.



John Dreystadt
Software Development Director
Arbortext - PTC
734-352-2835
-

perfect, thanks, John.