Api/minux.findfile()

From Minux Wiki
Revision as of 04:15, 4 October 2024 by Shorun (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

this function is part of the minux. api and used to find a string in files or folder names


usage:

temp = minux.findfile(searchstring)


output:

runs minux.lsr() to recursively list /, this is stored in /temp/ls/files.ls, the table outputed to "temp" holds the line numbers of this file corresponding to the searchstring