Simple ls question
I've got a stupid simple shell script to show me which mail folders have changed since I last checked:
The out put looks like this:
I'd like it to look like this:
But I can't figure out how to get ls to print out size and access time, without the permissions and (I think the other column is) the number of hard links.
mv maillist maillist.last ls -ogh /var/spool/mail/lrc /home/lrc/Mail/list-* > maillist diff maillist maillist.last | grep '>'
The out put looks like this:
> -rw------- 1 1.4M 2006-09-20 21:35 /home/lrc/Mail/list-wtw > -rw-rw---- 1 0 2006-09-29 11:19 /var/spool/mail/lrc
I'd like it to look like this:
1.4M 2006-09-20 21:35 /home/lrc/Mail/list-wtw 0 2006-09-29 11:19 /var/spool/mail/lrc
But I can't figure out how to get ls to print out size and access time, without the permissions and (I think the other column is) the number of hard links.
