Thanks to a couple people here I am able to connect to my WD NAS through command line.
Now I want to get the titles of the the movies I have stored there. I know about the dir /b > file.csv
command, but this doesn't seem to work for my structure. I have a folder named Data (which I have X: mapped to this spot "\MYNAS\Data") and within the Data folder I have other folders such as Action, Drama, Documentary etc. So when I use the dir /b > file.csv
command, it gives me the folder names inside Data and not the movies inside the folders.
Is there an easy way to pull the files from within each folder and make them all output to one CSV instead of going through and making a sperate csv for each folder?
I would prefer to solve this with command prompt because I am the most familiar with it, but I am open to using powershell as well.