![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| converting date format | mohan705 | Shell Programming and Scripting | 7 | 05-22-2008 11:10 AM |
| converting config file to csv format | zer0dvide | Shell Programming and Scripting | 7 | 03-21-2008 10:33 AM |
| Changing Creation Date to a Prespecified Date of a File In Unix | monkfan | UNIX for Dummies Questions & Answers | 4 | 11-28-2006 07:15 AM |
| Displaying file names before a particular creation date | dhruv_saksena | UNIX for Dummies Questions & Answers | 1 | 09-02-2005 08:19 AM |
| file creation date & time | alisevA3 | UNIX for Dummies Questions & Answers | 3 | 07-08-2005 05:21 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I need to capture a file's creation/modification date and time and convert this to a different format, whilst I can easily get the existing format from a ls -l | awk ' { print $......}' or a cut command I do not know how to convert it to a desired format?
I should add that at present the ls -l on the system I am using gives a date format of:- ls -l |awk '{print $7" "$6" "$8" "} ' 30 May 22:44 17 May 10:06 Whilst I need the format to be YYYY.MM.DD eg 2002.05.10 any ideas much appreciated Last edited by barney_clough; 06-12-2002 at 08:18 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|