With %TS it always outputs the fractional part. Is there a way to get rid of the fractional part?
find ./ -type f -printf "%TY%Tm%Td-%TH%TM%TS %P\n"
20200813-133459.6920994010 export.txt
You can discard the decimal part by specifying a precision of two bytes.
%.2TS
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With