[clug] incrementing time
Nemo -earth native-
nemo at cheeky.house.cx
Wed Nov 5 10:36:51 EST 2003
On Wed, Nov 05, 2003 at 10:32:16AM +1100, Nemo -earth native- did utter:
> date -d "`ls -o base3| awk -F' ' '{print $5" "$6" "$7}'`" +%s
manpages are wonderfull. I just found (again) ls' --time-style option.
ls -o --time-style=+%s /path/to/file
...send the output of that through awk again to claim the time out
alone. ($5 looks like the one you'll want)
.../Nemo (stop flooding the list nemo. Good fish)
--
------------------------------------------ --------------------------
earth native
More information about the linux
mailing list