![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| convert date format YYYYMMDD to MM/DD/YYYY | nasirgondal | Shell Programming and Scripting | 8 | 04-08-2009 11:56 AM |
| To convert multi format file to a readable ascii format | gaur.deepti | UNIX for Dummies Questions & Answers | 5 | 03-25-2008 03:03 PM |
| Convert UTF8 Format file to ANSI format | rajreddy | UNIX for Dummies Questions & Answers | 9 | 05-25-2007 09:26 AM |
| convert mmddyy date format to ccyyddd format?? | Bhups | Shell Programming and Scripting | 2 | 09-28-2006 12:30 AM |
| convert date in lilian format for shell (AIX) | chocolate | AIX | 2 | 11-09-2004 04:48 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Since ls -l output can look like this: Code:
-rw-r--r-- 1 user001 admin 2190 Jun 20 12:31 filea -rw-r--r-- 1 user001 admin 3176 Mar 18 2003 fileb It would be difficult, if not impossible to do. The trick would be to use Perl, since it is the one utility I know of that's widely available that can grab the stat structure. The stat structure contains the date in number of seconds since midnight on 1/1/1970, and can thus be converted easily into whatever format you want. Do you have perl? -Mike |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|