1

How to get filename, filesize, date modified and store it

view story
linux-howto

http://stackoverflow.com – I need to get the exact filepath, filesize, and date modified and store it in a mysql table. If I do ls command, it gives me an output that is quite difficult to parse properly to be able to load it into a mysql table. What would be the best way to get the filepath, size, and date modified and store it in a mysql table (currently, I am using load data infile). (HowTos)