Created
October 12, 2011 08:45
-
-
Save tmd45/1280671 to your computer and use it in GitHub Desktop.
get a file timestamp without --time-style (SunOS 5.10)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TIMESTAMP=`ls -E hoge.txt | sed -e 's/ */ /g' | cut -d " " -f 6-7 | cut -c 1-19` | |
echo $TIMESTAMP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gist のテスト。
自分で書いたコードのコピー。
http://wiki.tmd45.in/wiki.cgi?page=%A5%B7%A5%A7%A5%EB%A5%B9%A5%AF%A5%EA%A5%D7%A5%C8%A5%E1%A5%E2