1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

Added E Jay Berkenbilt's fixes

(This used to be commit fcdc9bc2089822b02b30cd55054a60ed4e696e70)
This commit is contained in:
Richard Sharpe 1998-10-04 07:09:38 +00:00
parent af4a13b37a
commit 832ca93117
3 changed files with 10 additions and 2 deletions

View File

@ -402,6 +402,7 @@ consists of one or more of
.BR X ,
.BR b ,
.BR g ,
.BR q ,
.BR N
or
.BR a ;
@ -466,6 +467,10 @@ only with the
.B c
flag.
.B q
Quiet. Keeps tar from printing diagnostics as it works. This is the
same as tarmode quiet.
.B N
Newer than. Must be followed by the name of a file whose date is
compared against files found on the share during a create. Only files

View File

@ -3304,7 +3304,7 @@ struct
{"exit",cli_send_logout,"logoff the server",{COMPL_NONE,COMPL_NONE}},
{"newer",cmd_newer,"<file> only mget files newer than the specified local file",{COMPL_LOCAL,COMPL_NONE}},
{"archive",cmd_archive,"<level>\n0=ignore archive bit\n1=only get archive files\n2=only get archive files and reset archive bit\n3=get all files and reset archive bit",{COMPL_NONE,COMPL_NONE}},
{"tar",cmd_tar,"tar <c|x>[IXbgNan] current directory to/from <file name>",{COMPL_NONE,COMPL_NONE}},
{"tar",cmd_tar,"tar <c|x>[IXFqbgNan] current directory to/from <file name>",{COMPL_NONE,COMPL_NONE}},
{"blocksize",cmd_block,"blocksize <number> (default 20)",{COMPL_NONE,COMPL_NONE}},
{"tarmode",cmd_tarmode,
"<full|inc|reset|noreset> tar's behaviour towards archive bits",{COMPL_NONE,COMPL_NONE}},
@ -3740,7 +3740,7 @@ static void usage(char *pname)
DEBUG(0,("\t-W workgroup set the workgroup name\n"));
DEBUG(0,("\t-c command string execute semicolon separated commands\n"));
DEBUG(0,("\t-t terminal code terminal i/o code {sjis|euc|jis7|jis8|junet|hex}\n"));
DEBUG(0,("\t-T<c|x>IXgbNan command line tar\n"));
DEBUG(0,("\t-T<c|x>IXFqgbNan command line tar\n"));
DEBUG(0,("\t-D directory start from directory\n"));
DEBUG(0,("\n"));
}

View File

@ -2715,6 +2715,9 @@ int tar_parseargs(int argc, char *argv[], char *Optarg, int Optind)
case 'a':
tar_reset=True;
break;
case 'q':
tar_noisy=False;
break;
case 'I':
if (tar_clipfl) {
DEBUG(0,("Only one of I,X,F must be specified\n"));