1752522 Members
4556 Online
108788 Solutions
New Discussion

ls shows year in ftp

 
j773303
Super Advisor

ls shows year in ftp

Hello expert,
I've a question about ls shows year. I know
below way can let ls -ld shows the year which files in half of year. But is it possible let "ls" shows year in FTP? Thanks for the advise.

=========================================
$ dumpmsg /usr/lib/nls/msg/C/ls.cat > ls.src
$ vi ls.src
change:
11 %b %2d %Y
12 %b %2d %H:%M
to
11 %Y %b %2d %H:%M
12 %Y %b %2d %H:%M
================================================
Hero
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: ls shows year in ftp

I would assume it would work. If you have the chroot type of ftp, you would have to make sure you copy your changed ls.cat there.