Print this page
6198 Let's EOL cachefs
   1 '\" te
   2 .\"  Copyright (c) 1998 Sun Microsystems, Inc.  All Rights Reserved.

   3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH FILESYNC 1 "Nov 6, 2000"
   7 .SH NAME
   8 filesync \- synchronize ordinary, directory or special files
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fBfilesync\fR [\fB-aehmnqvy\fR] [\fB-o\fR src | dst]
  13      [\fB-f\fR src | dst | old | new] [\fB-r\fR \fIdirectory\fR]...
  14 .fi
  15 
  16 .LP
  17 .nf
  18 \fBfilesync\fR [\fB-aehmnqvy\fR] \fB-s\fR \fIsource-dir\fR \fB-d\fR \fIdest-dir\fR \fIfilename\fR...
  19 .fi
  20 
  21 .SH DESCRIPTION
  22 .sp
  23 .LP
  24 The \fBfilesync\fR utility \fIsynchronizes\fR files between multiple computer
  25 systems, typically a server and a portable computer. \fBfilesync\fR
  26 synchronizes ordinary, directory or special files. Although intended for use on
  27 nomadic systems, \fBfilesync\fR is useful for backup and file replication on
  28 more permanently connected systems.
  29 .sp
  30 .LP
  31 If files are synchronized between systems, the corresponding files on each of
  32 the systems are \fIidentical\fR. Changing a file on one or both of the systems
  33 causes the files to become different (not synchronized). In order to make the
  34 files identical again, the differences between the files must be
  35 \fIreconciled\fR. See \fBReconciling and Synchronizing Files\fR  for specific
  36 details about how \fBfilesync\fR reconciles and synchronizes files.
  37 .sp
  38 .LP
  39 There are two forms of the \fBfilesync\fR command. The first form of
  40 \fBfilesync\fR is invoked without file arguments. This form of \fBfilesync\fR
  41 reconciles differences between the files and systems specified in the
  42 \fB$HOME/.packingrules\fR file. \fB$HOME/.packingrules\fR is a packing rules
  43 list for \fBfilesync\fR and \fBcachefspack\fR, and contains a list of files to
  44 be kept synchronized. See \fBpackingrules\fR(4) and \fBcachefspack\fR(1M).
  45 .sp
  46 .LP
  47 The second form of \fBfilesync\fR copies specific files from a directory on the
  48 source system to a directory on the destination system. In addition, this form
  49 of \fBfilesync\fR adds the file or files specified as arguments
  50 (\fIfilename\fR) to \fB$HOME/.packingrules\fR. See \fB-s\fR and \fB-d\fR for
  51 information about specifying directories on source and destination systems. See
  52 \fBOPERANDS\fR for details about specifying file (\fIfilename\fR) arguments.
  53 .sp
  54 .LP
  55 Multiple \fBfilesync\fR commands are cumulative (that is, the specified files
  56 are added to the already existing packing rules file list). See \fBMultiple
  57 filesync Commands\fR.
  58 .SS "Reconciling and Synchronizing Files"
  59 .sp
  60 .LP
  61 \fBfilesync\fR synchronizes files between computer systems by performing the
  62 following two tasks:
  63 .RS +4
  64 .TP


 598 .ne 2
 599 .na
 600 \fB\fB$HOME/.packingrules\fR\fR
 601 .ad
 602 .RS 24n
 603 list of files to be kept synchronized
 604 .RE
 605 
 606 .sp
 607 .ne 2
 608 .na
 609 \fB\fB$HOME/.filesync-base\fR\fR
 610 .ad
 611 .RS 24n
 612 baseline summary file
 613 .RE
 614 
 615 .SH SEE ALSO
 616 .sp
 617 .LP
 618 \fBcachefspack\fR(1M), \fBpackingrules\fR(4), \fBattributes\fR(5)
   1 '\" te
   2 .\"  Copyright (c) 1998 Sun Microsystems, Inc.  All Rights Reserved.
   3 .\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH FILESYNC 1 "Sep 8, 2015"
   8 .SH NAME
   9 filesync \- synchronize ordinary, directory or special files
  10 .SH SYNOPSIS
  11 .LP
  12 .nf
  13 \fBfilesync\fR [\fB-aehmnqvy\fR] [\fB-o\fR src | dst]
  14      [\fB-f\fR src | dst | old | new] [\fB-r\fR \fIdirectory\fR]...
  15 .fi
  16 
  17 .LP
  18 .nf
  19 \fBfilesync\fR [\fB-aehmnqvy\fR] \fB-s\fR \fIsource-dir\fR \fB-d\fR \fIdest-dir\fR \fIfilename\fR...
  20 .fi
  21 
  22 .SH DESCRIPTION
  23 .sp
  24 .LP
  25 The \fBfilesync\fR utility \fIsynchronizes\fR files between multiple computer
  26 systems, typically a server and a portable computer. \fBfilesync\fR
  27 synchronizes ordinary, directory or special files. Although intended for use on
  28 nomadic systems, \fBfilesync\fR is useful for backup and file replication on
  29 more permanently connected systems.
  30 .sp
  31 .LP
  32 If files are synchronized between systems, the corresponding files on each of
  33 the systems are \fIidentical\fR. Changing a file on one or both of the systems
  34 causes the files to become different (not synchronized). In order to make the
  35 files identical again, the differences between the files must be
  36 \fIreconciled\fR. See \fBReconciling and Synchronizing Files\fR  for specific
  37 details about how \fBfilesync\fR reconciles and synchronizes files.
  38 .sp
  39 .LP
  40 There are two forms of the \fBfilesync\fR command. The first form of
  41 \fBfilesync\fR is invoked without file arguments. This form of \fBfilesync\fR
  42 reconciles differences between the files and systems specified in the
  43 \fB$HOME/.packingrules\fR file. \fB$HOME/.packingrules\fR is a packing rules
  44 list for \fBfilesync\fR and contains a list of files to
  45 be kept synchronized. See \fBpackingrules\fR(4).
  46 .sp
  47 .LP
  48 The second form of \fBfilesync\fR copies specific files from a directory on the
  49 source system to a directory on the destination system. In addition, this form
  50 of \fBfilesync\fR adds the file or files specified as arguments
  51 (\fIfilename\fR) to \fB$HOME/.packingrules\fR. See \fB-s\fR and \fB-d\fR for
  52 information about specifying directories on source and destination systems. See
  53 \fBOPERANDS\fR for details about specifying file (\fIfilename\fR) arguments.
  54 .sp
  55 .LP
  56 Multiple \fBfilesync\fR commands are cumulative (that is, the specified files
  57 are added to the already existing packing rules file list). See \fBMultiple
  58 filesync Commands\fR.
  59 .SS "Reconciling and Synchronizing Files"
  60 .sp
  61 .LP
  62 \fBfilesync\fR synchronizes files between computer systems by performing the
  63 following two tasks:
  64 .RS +4
  65 .TP


 599 .ne 2
 600 .na
 601 \fB\fB$HOME/.packingrules\fR\fR
 602 .ad
 603 .RS 24n
 604 list of files to be kept synchronized
 605 .RE
 606 
 607 .sp
 608 .ne 2
 609 .na
 610 \fB\fB$HOME/.filesync-base\fR\fR
 611 .ad
 612 .RS 24n
 613 baseline summary file
 614 .RE
 615 
 616 .SH SEE ALSO
 617 .sp
 618 .LP
 619 \fBpackingrules\fR(4), \fBattributes\fR(5)