From ComputerCraft Wiki
Revision as of 21:38, 16 April 2014 by MKlegoman357 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Grid Redstone.png  Function fs.find
Returns a list of all the files and folders that match a wildcard expansion search. Requires version 1.6 or later.
Syntax fs.find(string wildcard)
Returns table list of files and folders on the computer that matches the search term.
Part of ComputerCraft
API fs


Grid paper.png  Example
Lists all files containing 'gps' in the subfolders of the 'rom' folder.
Output {"rom/apis/gps",