Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
porterdcarnegie opened this issue Jan 11, 2022 · 2 comments
Open

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

porterdcarnegie opened this issue Jan 11, 2022 · 2 comments

Comments

@porterdcarnegie
Copy link

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

seems to work. just putting it out there.

@eylles
Copy link
Owner

eylles commented Jan 11, 2022

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants