Search Results

Search: Posts Made By: rvdokkum
Forum: OS X (Apple) 08-28-2010
27,393
Posted By rvdokkum
$ stat -lt "%Y.%m.%d %H:%M" file1 # format as...
$ stat -lt "%Y.%m.%d %H:%M" file1 # format as required
-rw-r--r-- 1 scott staff 405 2010.08.28 14:04 file1

thats what i need. thanks.

is it possible to only get the de date and time info not...
Forum: OS X (Apple) 08-28-2010
27,393
Posted By rvdokkum
get file modification date in number format (yyyy mm dd hh mm ss)
How do i get the file modification date in number format (yyyy mm dd hh mm ss)

i used

ls -l pathname

but month is still in text "Aug" and year and time is not allways shown. time is show...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy