How do I convert:
$ find . -ls > /tmp/files.txt
Which gives me something like:
908715 40 -rwxrwxr-x 1 david staff 16542 Nov 15 14:12 ./dump_info.py 908723 0 drwxr-xr-x 2 david staff 68 Nov 20 17:35 ./metadata
The csv output? It will look like this:
908715,40,-rwxrwxr-x,1,david,staff,16542,Nov 15 14:12,./dump_info.py 908723,0,drwxr-xr-x,2,david,staff,68,Nov 20 17:35,./metadata
Here is an example with spaces in the file name:
652640,80,-rw-rw-r--,1,david,staff,40036,Nov,6,15:32,./v_all_titles/V Catalog Report 11.5.xlsx
linux unix find csv
David542
source share