summaryrefslogtreecommitdiffstats
path: root/docs/manpages/smbclient.1
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-05-31 15:13:29 +0000
committerAndrew Tridgell <tridge@samba.org>1996-05-31 15:13:29 +0000
commit635b56f19c817527c52e9bbde31faa6a8a47777b (patch)
tree87584bdc0ee4e001d57880f33b7e0dce7bd493b2 /docs/manpages/smbclient.1
parent3e9750cc2713da7c3d4beb24217f94c033e2fee5 (diff)
downloadsamba-635b56f19c817527c52e9bbde31faa6a8a47777b.tar.gz
samba-635b56f19c817527c52e9bbde31faa6a8a47777b.tar.xz
samba-635b56f19c817527c52e9bbde31faa6a8a47777b.zip
Lots of changes!
- add faq info on NT printer handling - add "delete readonly" option to help rcs users - add stuff to man pages on new printer options - add "proxy name resolution" option - add "command string" -c option to smbclient (thanks Ken) - split time functions into time.c - rearrange the quotas stuff a bit and fix some bugs - complete rehash of the time handling code thanks to Paul Eggert - fix nmblookup output a bit - add plp print queue parsing from Bertrand Wallrich
Diffstat (limited to 'docs/manpages/smbclient.1')
-rw-r--r--docs/manpages/smbclient.118
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/manpages/smbclient.1 b/docs/manpages/smbclient.1
index be3a953266f..e0af67ca1a4 100644
--- a/docs/manpages/smbclient.1
+++ b/docs/manpages/smbclient.1
@@ -44,8 +44,13 @@ smbclient \- ftp-like Lan Manager client program
] [
.B -p
.I port number
+] [
+.B -c
+.I command string
+] [
.B -T
.I tar options
+] [
.B -D
.I initial directory
]
@@ -440,6 +445,19 @@ with the tar (\-T) option.
.RE
+.B -c
+.I command string
+
+.RS 3
+
+command string is a semicolon separated list of commands to be
+executed instead of prompting from stdin. -N is implied by -c.
+
+This is particularly useful in scripts and for printing stdin to
+the server, e.g. -c 'print -'.
+
+.RE
+
.SH OPERATIONS
Once the client is running, the user is presented with a prompt, "smb: \\>".
The backslash ("\\") indicates the current working directory on the server,