eylles / vifm-sixel-preview

vifm image previews for sixel capable terminals
24 stars 1 forks source link

Busybox's `stat` doesnt have '--printf' option #3

Open porterdcarnegie opened 2 years ago

porterdcarnegie commented 2 years ago

stat -c '%n%i%s%W%Y'

seems to work. just putting it out there.

eylles commented 2 years ago

Was also thinking of converting the script to bash since i have not found a way to read term props in dash, and don't know of other way of doing that than using bash's read -a

folliehiyuki commented 2 years ago

Also Busybox's stat doesn't seem to have %W (at least on Alpine)