[PATCHES] smbclient - add support for superseding the destination file on rename
Uri Simchoni
uri at samba.org
Fri Apr 7 18:13:21 UTC 2017
On 04/07/2017 06:47 PM, Christian Ambach via samba-technical wrote:
> Hi,
>
> sorry for coming back on this, but I think the following hunk should have
> been updated with the patches that went in on top of the original patches.
>
>> - <replaceable>new filename</replaceable>. </para></listitem>
>> + <replaceable>new filename</replaceable>. The optional
>> + -f switch is supported only by SMB2 protocol and beyond,
>> + and allows for superseding the destination file,
>> + if it exists.</para></listitem>
>> </varlistentry>
>
> Cheers,
> Christian
>
>
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
>
>
Right. Here's the fixup patch.
Thanks!
Uri.
-------------- next part --------------
>From b6f2cc60d685b43df8238199af57e088f6f7f8ac Mon Sep 17 00:00:00 2001
From: Uri Simchoni <uri at samba.org>
Date: Fri, 7 Apr 2017 21:10:47 +0300
Subject: [PATCH] docs: fixup smbclient rename -f option
Fixup documentation of new -f option of the smbclient
rename command. This command is supported by SMB1 and
SMB2.
Signed-off-by: Uri Simchoni <uri at samba.org>
---
docs-xml/manpages/smbclient.1.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs-xml/manpages/smbclient.1.xml b/docs-xml/manpages/smbclient.1.xml
index 059e14c..2b712fe 100644
--- a/docs-xml/manpages/smbclient.1.xml
+++ b/docs-xml/manpages/smbclient.1.xml
@@ -1004,9 +1004,9 @@
<listitem><para>Rename files in the current working directory on the
server from <replaceable>old filename</replaceable> to
<replaceable>new filename</replaceable>. The optional
- -f switch is supported only by SMB2 protocol and beyond,
- and allows for superseding the destination file,
- if it exists.</para></listitem>
+ -f switch allows for superseding the destination file,
+ if it exists. This is supported by NT1 protocol dialect
+ and SMB2 protocol family.</para></listitem>
</varlistentry>
<varlistentry>
--
2.9.3
More information about the samba-technical
mailing list