Is it possible to simulate "tail -f" on android?
I'd like to write all the new data in one file into another file, just like:
"tail -f n 0 a.txt > b.txt"
Is it possible to simulate "tail -f" on android?
I'd like to write all the new data in one file into another file, just like:
"tail -f n 0 a.txt > b.txt"
Copyright © 2021 Jogjafile Inc.
Yes it is possible with some shell hackery, no busybox needed. Try this:
Remove the initial
cat
to simulate a regulartail -f
.(related: https://stackoverflow.com/a/44288388/893755)