|
Selecting files with specific attributes |
Pipelines v1.6 |
.* Example by TenFiftyTwo(c). |
.* The following pipeline searches the 'C' drive for the first 20 hidden, system files. pipe (endchar ~ comment //)
filelist drv=c subdir // The drive to search. | a: fanout // Copy record to all output streams. | locate w4 pattern /??1???1/ // Select only hidden, system files. | take 20 // Select the first 20 records. | b: faninany // Merge streams. | cons // Display records on the console. ~ a: | take 1 // Read only the filelist header. | b: // Route header back to FANINANY stage.