User Tools

Site Tools


Sidebar



stat

Stat

get year from last modified date

year=$(stat -f "%Sm" "$file" | rev | cut -c -4 | rev)
stat.txt · Last modified: 2015/03/10 23:01 by rick