use android toolbox‘s “ls” command error

Advertisement

QwQ
Guest

use android toolbox‘s “ls” command error

Use winscp to access the android file system
toolbox‘s ls can’t work
busybox‘s ls can work
ERROR:
Unexpected directory listing line 'drwxrwxr-x system sdcard_rw 2018-12-04 22:27 .Android'.

没预计到的目录列表行'drwxrwxr-x system sdcard_rw 2018-12-04 22:27 .Android'。
====================================================
toolbox’s ”ls -la“ :

root@android:/data/data/com.teslacoilsw.quicksshd/home # toolbox ls -la
-rw------- root root 3 2018-12-17 15:15 .ash_history
drwx------ u0_a112 u0_a112 2018-12-13 12:16 .ssh


======================================================================
busybox's "ls -la ":

root@android:/data/data/com.teslacoilsw.quicksshd/home # busybox ls -la
total 16
drwx------ 3 10112 10112 4096 Dec 17 07:15 .
drwxr-x--x 6 10112 10112 4096 Dec 15 21:36 ..
-rw------- 1 0 0 3 Dec 17 07:15 .ash_history
drwx------ 2 10112 10112 4096 Dec 13 04:16 .ssh

.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: use android toolbox‘s “ls” command error

It seems that the output misses inode column. Cannot you use SFTP protocol instead?

Reply with quote

QwQ
Guest

Re: use android toolbox‘s “ls” command error

martin wrote:

It seems that the output misses inode column. Cannot you use SFTP protocol instead?


on android, do not have sftp,only scp

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: use android toolbox‘s “ls” command error

You can create an alias to the ls command what will add a (fake) inode column (using sed or something similar).

Reply with quote

Advertisement

You can post new topics in this forum