문제

I have found the following command that meets all my requirements bar one. I need the output time style to be full iso. What do I need to change to make this happen?

ls -al --time-style=+%D | grep $(date +%D)
도움이 되었습니까?

해결책

Just modify the time format in your own command:

ls -al --time-style=full-iso | grep $(date --iso-8601)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top