Hi, sorry for bad English.
i have a problem with understanding of format of output of dir command.
There is a problem when a file name or directory contain space in name. For
example

smbclient //netgear/common/ -c "dir" | awk '{print $1}'
...
МЕНЕДЖЕРЫ
backups
АЛТУФЬЕВО-МЕНЕДЖЕРЫ

smbclient //netgear/common/ -c "dir" | awk '{print $2}'
...
D
Connect
D
...
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to