Toggle navigation
Toggle navigation
This project
Loading...
Sign in
UT
/
clsync
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Barak A. Pearlmutter
2015-05-12 10:41:53 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0bafbe6087fdacc8d28fd2aab6154407f98faf0b
0bafbe60
1 parent
5041f0e2
hyphen slash
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
man/man1/clsync.1
man/man1/clsync.1
View file @
0bafbe6
...
...
@@ -2226,7 +2226,7 @@ of the
program (for example, rsync has options "\-\-exclude", "\-\-exclude\-from" and
"\-\-filter") or use disable any "recursive" syncs in
.B clsync
(and remove "-av" option of rsync if it's used). To disable recursive syncs
(and remove "
\
-av" option of rsync if it's used). To disable recursive syncs
you can use:
.RS
.B simple
...
...
@@ -2553,11 +2553,11 @@ clsync \-Mrsyncdirect \-W/path/to/source_dir \-D/path/to/destination_dir
.B Syncing 'authorized_keys' files:
.RS
mkdir -p /etc/clsync/rules
mkdir
\
-p /etc/clsync/rules
.br
printf "+w^$\n+w^[^/]+$\n+w^[^/]+/.ssh$\n+f^[^/]+/.ssh/authorized_keys$\n-*" > /etc/clsync/rules/authorized_files_only
.br
clsync
-Mdirect -Scp -W/mnt/master/home/ -D/home -R/etc/clsync/rules/authorized_files_only -- -Pfp --parents %INCLUDE-LIST% %destination
-dir%
clsync
\-Mdirect \-Scp \-W/mnt/master/home/ \-D/home \-R/etc/clsync/rules/authorized_files_only \-\- \-Pfp \-\-parents %INCLUDE\-LIST% %destination\
-dir%
.RE
.B Mirroring a directory, but faster:
...
...
Please
register
or
login
to post a comment