Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
876c9936
Commit
876c9936
authored
Jan 28, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed --skip-empty-dirs (-k) to --prune-empty-dirs (-m).
parent
a272ff8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
options.c
options.c
+5
-5
No files found.
options.c
View file @
876c9936
...
...
@@ -81,7 +81,7 @@ int numeric_ids = 0;
int
force_delete
=
0
;
int
io_timeout
=
0
;
int
allowed_lull
=
0
;
int
skip
_empty_dirs
=
0
;
int
prune
_empty_dirs
=
0
;
char
*
files_from
=
NULL
;
int
filesfrom_fd
=
-
1
;
char
*
filesfrom_host
=
NULL
;
...
...
@@ -324,7 +324,7 @@ void usage(enum logcode F)
rprintf
(
F
,
" --partial keep partially transferred files
\n
"
);
rprintf
(
F
,
" --partial-dir=DIR put a partially transferred file into DIR
\n
"
);
rprintf
(
F
,
" --delay-updates put all updated files into place at transfer's end
\n
"
);
rprintf
(
F
,
" -
k, --skip-empty-dirs skip empty directory chains
\n
"
);
rprintf
(
F
,
" -
m, --prune-empty-dirs prune empty directory chains from the file-list
\n
"
);
rprintf
(
F
,
" --numeric-ids don't map uid/gid values by user/group name
\n
"
);
rprintf
(
F
,
" --timeout=TIME set I/O timeout in seconds
\n
"
);
rprintf
(
F
,
" -I, --ignore-times don't skip files that match in size and mod-time
\n
"
);
...
...
@@ -485,7 +485,7 @@ static struct poptOption long_options[] = {
{
"no-partial"
,
0
,
POPT_ARG_VAL
,
&
keep_partial
,
0
,
0
,
0
},
{
"partial-dir"
,
0
,
POPT_ARG_STRING
,
&
partial_dir
,
0
,
0
,
0
},
{
"delay-updates"
,
0
,
POPT_ARG_NONE
,
&
delay_updates
,
0
,
0
,
0
},
{
"
skip-empty-dirs"
,
'k'
,
POPT_ARG_NONE
,
&
skip
_empty_dirs
,
0
,
0
,
0
},
{
"
prune-empty-dirs"
,
'm'
,
POPT_ARG_NONE
,
&
prune
_empty_dirs
,
0
,
0
,
0
},
{
"log-format"
,
0
,
POPT_ARG_STRING
,
&
log_format
,
0
,
0
,
0
},
{
"itemize-changes"
,
'i'
,
POPT_ARG_NONE
,
0
,
'i'
,
0
,
0
},
{
"bwlimit"
,
0
,
POPT_ARG_INT
,
&
bwlimit
,
0
,
0
,
0
},
...
...
@@ -1480,8 +1480,8 @@ void server_options(char **args,int *argc)
if
(
am_sender
)
{
if
(
keep_dirlinks
)
argstr
[
x
++
]
=
'K'
;
if
(
skip
_empty_dirs
)
argstr
[
x
++
]
=
'
k
'
;
if
(
prune
_empty_dirs
)
argstr
[
x
++
]
=
'
m
'
;
if
(
omit_dir_times
==
2
)
argstr
[
x
++
]
=
'O'
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment