I would like to get a list of files from a directory. Ideally, I would like to spawn a shell command (ls -t | head) to do this, like node's "child_process" package. Is it possible to:
require('child_process') in the content: for this card?
If not, is there any way to do this?
The files would be stored in a list which I would traverse... Thanks!!
I would like to get a list of files from a directory. Ideally, I would like to spawn a shell command (ls -t | head) to do this, like node's "child_process" package. Is it possible to:
If not, is there any way to do this?
The files would be stored in a list which I would traverse... Thanks!!