FileSystemScan
FileSystemScan[f,root]
evaluates f on all files contained in root.
FileSystemScan[f,root,n]
restricts the operation to directories at level n.
Details and Options
-
IncludeDirectories False whether to return f[directory] FileNameForms All include files with names of the specified forms MaxItems Infinity maximum items to include from a directory
Examples
Basic Examples (2)
Set the FileDate for all files in a directory:
The files in the specified directory now have a current modification date:
Set the FileDate for all files through level 2 of the specified directory:
All files in $UserBaseDirectory now have the same FileDate:
Text
Wolfram Research (2016), FileSystemScan, Wolfram Language function, https://reference.wolfram.com/language/ref/FileSystemScan.html (updated 2019).
CMS
Wolfram Language. 2016. "FileSystemScan." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/FileSystemScan.html.
APA
Wolfram Language. (2016). FileSystemScan. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FileSystemScan.html