I have a script running each night, like
Code: Select all
find /path/ -printf '"%p",%s,\n'
Now, I'd like to change that script to also get the dates of the files/folders.
I have modified the script to add a date, but I'm unsure, what format I need to use, so everything can understand it correctly.
Code: Select all
find /path/ -printf '"%p",%s,%TY-%Tm-%Td %TH:%TM:%TS %Tz\n'
Can anybody tell me, if possible, how I would format my printf string to fit the format everything uses?
Thank you very much.
(I'm using a 1.5 alpha atm, not the actual, but 01346a, because the newest always crashed)