Alternative syntax for ``smbclient``
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 31 Mar 2015 12:40:54 +0300
changeset 1705 0e0d3d3337a0
parent 1704 57cb0966464c
child 1706 387028a4bc33
Alternative syntax for ``smbclient``
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