Quote:
Originally Posted by trampman
Hi all im trying to export a list of all files including their full file path and size to a csv so I can then put it into a db to work on. does anyone know how?
thanks
|
What have you done/tried so far?? What information do you need in the CSV, and how are you trying to split it? The question is a bit vague. Read the man page on find. Something like
Code:
find . -ls | sed -e 's/ */,/g' > file.csv
...from the / directory (as root) will do it.