I want to send a list of all folders including one level down to a txt file. Excluding some named folders and no files. Imagine a folder structure like this. CAPS are folders.
FOLDER 1 .hidden TEMP somefile ========= ========= FOLDER 2 .hidden TEMP DATA1 DATA2 somefile ======== ======== FOLDER 3 .hidden TEMP DATA1 somefile
I would like to run "insert magic command here" and end up with an output that looks like below
FOLDER 1 FOLDER 2 DATA1 DATA2 FOLDER 3 DATA1