inotifywait
#52
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
DuckDuckGo and Google search
"inotifywait" "adb".Could execute Termux binary, but I prefer avoiding to do so.
dstmath/inotifywait-for-Android has 121 stars and last commit was 9 years ago.
Maybe can
adb pushTermuxinotifywait:On Termux:
Output:
On my Linux Mint 22.2 Cinnamon Framework 13:
DuckDuckGo and Google search adb push chown.
does not return anything and does not help, source: the Stack Overflow answer 14084617.
DuckDuckGo and Google search adb push as shell and adb chown shell.
The Stack Overflow answer 37781988:
does not return anything and does not help.
DuckDuckGo and Google search adb push executable.
The Android Stack Exchange answer 45564:
I am fine using a temporary folder.
Output:
Output:
On Termux:
Output:
Output:
Output:
Output:
Output:
Output:
DuckDuckGo and Google search Linux specify .so to executable.
The Server Fault answer 279069:
does not return anything.
The Server Fault answer 699902:
If proceed similarly with
libc++_shared.so.I uninstalled Termux on Samsung Galaxy A53 to avoid bias.
Output:
Output:
Attachments are based on my Fairphone 4 own LineageOS 22.2 Termux.
Being able to retrieve them by download would be nice.
Output:
It helps the issue:
Output:
Bash script:
Output:
Bash script:
works fine on my Fairphone 4 own LineageOS 22.2 Termux.
I confirm that the execution flag is kept on
adb push.Output:
Output:
DuckDuckGo search Termux mirrors.
termux/termux-packages/wiki/Mirrors/74f5c2abe11397d4b25f0c445425c6c7d917c36b
I just read Info for mirror maintainers section.
https://packages.termux.dev/apt/termux-main/pool/main/i/inotify-tools/
https://packages.termux.dev/apt/termux-main/pool/main/i/inotify-tools/inotify-tools_4.25.9.0_aarch64.deb
DuckDuckGo and Google search Decompress .deb.
The Unix Stack Exchange answer 138190:
Output:
Output:
does not return anything.
Output:
Wikipedia: Termux (1316517983) correctly denotes
termux.devas Website.does not return anything, same for
libinotifytools.so.https://packages.termux.dev/apt/termux-main/pool/main/libc/libc++/libc++_28c-1_aarch64.deb
Output:
Same with
libc++_shared.so.I would like my setup to resist reboots for #29.
I checked that:
Output:
/data/local/tmp/my_fileis still present after a reboot on my Debian 13 GNOME laptop Virtual Machine Manager LineageOS 22.2 virtual machine.The Unix Stack Exchange answer 61464:
Output:
No matter if prefix with
/or./.DuckDuckGo and Google search Linux extract given file from .xz.
DuckDuckGo search Linux extract single file from .deb.
Output:
The Ask Ubuntu answer 6022:
Output:
Output:
Output:
Output:
Output:
Source: the Stack Overflow answer 845601
works, but is quite unsatisfying.
Google search tar extract in current folder.
does not return anything and works as wanted.
Output:
Output:
works as wanted.
Output:
Bash script:
Bash script:
Bash script:
DuckDuckGo and Google search Linux command to escape regex and re.escape Bash equivalent.
Could cache on disk or RAM URLs to avoid redundant calls as currently due to
inotify-tools, but it is quite unclear how to do so.To ease process may want to leverage Termux install from ADB. However, it involves
adb rootwhich does not seem safe, could just copy to/data/local/tmp/, then unroot.Bash script:
Output:
shell:does not work as wanted.If proceed in
adb shellit works as wanted.With indentation get:
hanging.