I’m writing an audit trail on a release note.
Currently I’m finding to-be-released items before the deploy and screenshot them.
I use command below:
find -ls | grep item001.class;find -ls | grep item002.class;find -ls | grep item003.class;
… etc
The thing is that I don’t want unnecessary username and group shown, so I tried this:
find -ls | grep item001.class | awk '{$5=$6=""; print $0}';find -ls | grep item002.class | awk '{$5=$6=""; print $0}';
It does the job, but it removes the highlights of the filenames and the command line becomes too messy for other people.
Question :
Is there a better way to replicate ls -gG
results with find
command?