How can I extract directory name,file name,file size, and modify time from a recursive directory list saved as a txt file. The challenge is to keep the direcory asociation with the files.
The directory listing is pretty much identical to what you get with a "dir /s" command from a DOS shell but without the file count and Dir count summary at the end of each dir list.
If on Windows:
dir /s /ON /B > dir.txt
This will include the file and path info on the same row.
OK but this does not show file size and modification date
It would be a real mess... Would it be possible for you to retrieve an "easier" recursive listing such as what provided from:
find folder_name -exec ls -l \{\}\;
This way file and path info would be stored on the same row.
Well it would certainly help if you told us more about what the directory listing looks like and how you would like to separate it.