linux - smbclient -c with ls -l option -
i trying folder lists remote server, , not possible mount remote server local computer (because of permission issue).
i used
smbclient "//165.186.89.21/deptdq_141q_fota" "--user=myid" -c 'ls;'
to lists of folder. , result success.
but, want use ls -l
above command line , when try results using line
smbclient "//165.186.89.21/deptdq_141q_fota" "--user=lge\final.lee" -c 'ls -l;'
it returns
nt_status_no_such_file listing \-l 64000 blocks of size 16777216. 6503 blocks available
... how should use smbclient operator ls -l option? please me!
smbclient ls
not run native ls
command, rather invokes built-in functionality. such, not support usual options native, posix-compliant ls
command provide.
thus, cannot this.
if goal read metadata, consider trying smbclient stat [filename]
subcommand instead.
Comments
Post a Comment