Say i have the following command. It's set to display a list of the last 20 files modified on my drive with the paths included.
find -type f -printf '%TY-%Tm-%Td %TT %p\n' | sort -r | head -20
The command works fine however in the format of the date and time there is too much information as it also displays the milliseconds. My questions were how would I remove this. In addition, how could I change the position it prints in so that the path would show up on the left side and the date on the right?