# HG changeset patch # User Oleksandr Gavenko # Date 1427794854 -10800 # Node ID 0e0d3d3337a0c6834c79bae697087a94886ecfdd # Parent 57cb0966464c3b0a728449aa197a96d9f81cea66 Alternative syntax for ``smbclient`` diff -r 57cb0966464c -r 0e0d3d3337a0 samba.rst --- a/samba.rst Tue Mar 31 12:37:50 2015 +0300 +++ b/samba.rst Tue Mar 31 12:40:54 2015 +0300 @@ -54,7 +54,7 @@ ... smb> quit -Alternative syntax to run ````:: +Alternative syntax to run ``smbclient``:: $ smbclient -U $USER //$IP/$SHARE $PASSWORD ... @@ -65,6 +65,15 @@ Password: ... +Alternative syntax for ``smbclient`` and additional commands:: + + mask "" + recurse ON + prompt OFF + cd 'path\to\remote\dir' + lcd '~/path/to/local/dir' + mget * + To list all available shares:: $ smbclient -U $USER -L //$IP