Mariusz Pękala schreef: > On 2006-01-07 20:01:25 +0100 (Sat, Jan), Holly Bostick wrote: > >> Willie Wong schreef: >> >>> On Sat, Jan 07, 2006 at 04:17:11PM +0100, Penguin Lover Holly >>> Bostick squawked: >>> >>>> (how do you get ls to also include the @#$%#$ *year*??) >>> >>> Sorry, couldn't help with the rest of your problem, but I think >>> it is assumed that ls will display the year only for files older >>> than a year old. Quite clever, in my opinion. >> >> <snip> >> >> But even leaving aside the inconsistencies (only for the purposes >> of this discussion), this is not the behaviour I expect or in fact >> desire. I normally expect the year to be displayed whenever the >> current calendar year is different from that associated with the >> file >> >> <snip> >> >> Rather than go off on a rant, I will ask mildly: is there any way >> to change the default behaviour to more reflect my expected >> behaviour? > > info ls, section * Formatting file timestamps::
A-HA!!!! The 'Info' command, which I also always forget, not least because I don't know how to navigate info files. But this caused me to take another whack at it, and I got along well enough to find a mostly acceptable way to reform the "la" alias to the following: alias la="ls --color -lAGbh --time-style='+%b %d %Y %H:%M'" which produces zo 01/08/06 02:25 ~/docs motub -> la totaal 3,7M -rw-r--r-- 1 motub 1,3M okt 18 2005 20:17 autosc102.exe drwxr-xr-x 6 motub 192 okt 30 2005 15:25 books -r-xr-xr-x 1 motub 2,8K jan 27 2003 01:05 Buddies.xml drwxrwxr-x 2 motub 1,2K jan 06 2006 22:42 cmds -rw-rw-r-- 1 motub 581 jan 31 2005 15:36 computeruniverse_rma.txt drwxrwxr-x 5 motub 3,2K nov 21 2005 16:55 config -rw-rw-r-- 1 motub 3,9K nov 03 2004 19:18 depclean_data.txt -rw-r--r-- 1 motub 204 sep 27 2005 17:40 general_cvs.txt drwxrwxr-x 3 motub 1,4K sep 06 2005 23:23 hardware_man drwxrwxr-x 10 motub 528 apr 26 2005 01:30 +hb_pers drwxrwxr-x 6 motub 3,4K apr 26 2005 01:29 infodocs -rw-rw-r-- 1 motub 56 nov 03 2004 15:47 install_notes.txt -rw-r--r-- 1 motub 98K okt 18 2005 20:17 Manual.pdf drwxrwxr-x 2 motub 240 sep 04 2005 17:45 misc drwxrwxr-x 3 motub 1,3K dec 09 2005 21:46 miscpost drwxrwxr-x 8 motub 5,7K mei 29 2005 16:32 misctech -rw-r--r-- 1 motub 1,7K jul 13 2005 13:52 more_what\ works.txt -rw-r--r-- 1 motub 1,4K jul 02 2005 02:24 more_what\ works.txt~ drwxrwxr-x 2 motub 3,3K okt 19 2005 01:38 my_scripts -rw-r--r-- 1 motub 262 okt 04 2005 17:03 new_wine_install_notes.txt -rwxrwxr-x 1 motub 2,6K jul 01 2004 20:28 nfo.nfo drwxrwxr-x 2 motub 2,3K dec 24 2005 15:42 output -rw-rw-r-- 1 motub 5,3K nov 06 2004 02:48 readme-queen.txt -rw-rw-r-- 1 motub 50K nov 06 2004 02:48 README-scummvm.txt drwxr-xr-- 2 motub 120 okt 18 2005 20:41 registry drwx------ 2 motub 112 jun 15 2005 14:55 .Trash-motub -rw-r--r-- 1 motub 74K jun 16 2005 17:24 what_works.html which is much more informative for me with 1) the group names removed and 2) a more comprehensive and comprehensible date and size display. Don't think I really need the inodes (if that's what they are, I couldn't quite deciper info ls that far) before the owner name, but I can live with that. The output doesn't even wrap in T-bird anymore, it's so compact :D . Anyway, not quite what I asked for, but it will definitely do. And I kinda learned how to use info. Thanks for all the help! Holly -- gentoo-user@gentoo.org mailing list