I'm currently trying to export all secrets in /ppp secret into a file with $identity$date$time as name.
The code is as follows
But it only outputs files with the time as name. :/
Code: Select all
:global date ([:pick [/system clock get date] 0 12]); :global time ([:pick [/system clock get time] 0 9]); :local fileName (.[system identity get name]"$date""$time") :local rsc $fileName /ppp secret export file=$rsc;
Can anyone tell me why it would do so?