File Enumerator
Enumerate the files in a specified folder and output the paths to a .csv file
Last updated
Enumerate the files in a specified folder and output the paths to a .csv file
Last updated
// Print the pathname of each file within the specified folder
input.forEach((filepath) => console.log(filepath))// Create a CSV table containing the pathnames of all the .txt file in the specified folder
input.forEach((filepath) => {
if (filepath.endsWith('txt')) output.push(filepath)
})