2004
Sven Neumann
Returns a list of matching filenames
This can be useful in scripts and other plugins (e.g., batch-conversion). See the glob(7) manpage for more info. Note however that this isn't a full-featured glob implementation. It only handles simple patterns like "/home/foo/bar/*.jpg".
unknown
Type | Name | Description |
---|---|---|
PF_VALUE | pattern | The glob pattern (in UTF-8 encoding) |
PF_INT | encoding | Encoding of the returned names: { UTF-8 (0), filename encoding (1) } |
Type | Name | Description |
---|---|---|
PF_INT | num-files | The number of returned names |
unknown | files | The list of matching names |