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

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:

Introduced in 2016
 (11.0)
 |
Updated in 2019
 (12.0)