[Remind-Fans] INCLUDE if exists?

Dianne Skoll dianne at skoll.ca
Thu Mar 9 18:13:39 EST 2023


On Thu, 9 Mar 2023 18:11:12 -0500
Justin Alcorn via Remind-fans <remind-fans at lists.skoll.ca> wrote:

> Is there a way to run an INCLUDE but only if the file exists?

Yes.  It's a bit hacky.

IF access("/home/jalcorn/location", "r")
   INCLUDE /home/jalcorn/location
ENDIF

Regards,

Dianne.


More information about the Remind-fans mailing list