Dec 19, 2003 #1 jestrada101 Technical User Joined Mar 28, 2003 Messages 332 Is there a method to get the timestamp from a file without doing an "ls" with a "cut"? Thanks JE
Is there a method to get the timestamp from a file without doing an "ls" with a "cut"? Thanks JE
Dec 19, 2003 #2 SteveR77 Programmer Joined Sep 18, 2000 Messages 813 Location US The only other way I know to do this would be to use ls -l | awk '{print $6" "$7" "$8}' The double quotes are so there will be a space between the fields. Upvote 0 Downvote
The only other way I know to do this would be to use ls -l | awk '{print $6" "$7" "$8}' The double quotes are so there will be a space between the fields.