Api/minux.findfile()

From Minux Wiki
Revision as of 23:53, 3 October 2024 by Shorun (talk | contribs) (Created page with "this function is part of the minux. api and used to find a string in files or folder names '''usage:''' temp = dev.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")
(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 = dev.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