Question

tim.conway at philips.com tim.conway at philips.com
Wed Nov 7 04:59:20 EST 2001


see --stats below:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tconway at atlas
/cdrom/011002_1439>rsync --help 
rsync  version 2.4.6dev  protocol version 25
Copyright (C) 1996-2001 by Andrew Tridgell, Paul Mackerras and others(tcc, 
even)
Capabilities: 64-bit files, socketpairs, hard links, symlinks, absolute 
symlinks

rsync is a file transfer program capable of efficient remote update
via a fast differencing algorithm.

Usage: rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST
  or   rsync [OPTION]... [USER@]HOST:SRC DEST
  or   rsync [OPTION]... SRC [SRC]... DEST
  or   rsync [OPTION]... [USER@]HOST::SRC [DEST]
  or   rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST
  or   rsync [OPTION]... rsync://[USER@]HOST[:PORT]/SRC [DEST]
SRC on single-colon remote HOST will be expanded by remote shell
SRC on server remote HOST may contain shell wildcards or multiple
  sources separated by space as long as they have same top-level

Options
 -v, --verbose               increase verbosity
 -q, --quiet                 decrease verbosity
 -c, --checksum              always checksum
 -a, --archive               archive mode
 -r, --recursive             recurse into directories
 -R, --relative              use relative path names
 -b, --backup                make backups (default ~ suffix)
     --backup-dir            make backups into this directory
     --suffix=SUFFIX         override backup suffix
 -u, --update                update only (don't overwrite newer files)
 -l, --links                 preserve soft links
 -L, --copy-links            treat soft links like regular files
     --copy-unsafe-links     copy links outside the source tree
     --safe-links            ignore links outside the destination tree
 -H, --hard-links            preserve hard links
 -p, --perms                 preserve permissions
 -o, --owner                 preserve owner (root only)
 -g, --group                 preserve group
 -D, --devices               preserve devices (root only)
 -t, --times                 preserve times
 -S, --sparse                handle sparse files efficiently
 -n, --dry-run               show what would have been transferred
 -W, --whole-file            copy whole files, no incremental checks
 -x, --one-file-system       don't cross filesystem boundaries
 -B, --block-size=SIZE       checksum blocking size (default 700)
 -e, --rsh=COMMAND           specify rsh replacement
     --rsync-path=PATH       specify path to rsync on the remote machine
 -C, --cvs-exclude           auto ignore files in the same way CVS does
     --existing              only update files that already exist
     --delete                delete files that don't exist on the sending 
side
     --delete-excluded       also delete excluded files on the receiving 
side
     --delete-after          delete after transferring, not before
     --ignore-errors         delete even if there are IO errors
     --max-delete=NUM        don't delete more than NUM files
     --partial               keep partially transferred files
     --force                 force deletion of directories even if not 
empty
     --numeric-ids           don't map uid/gid values by user/group name
     --timeout=TIME          set IO timeout in seconds
 -I, --ignore-times          don't exclude files that match length and 
time
     --size-only             only use file size when determining if a file 
should be transferred
     --modify-window=NUM     Timestamp window (seconds) for file match 
(default=0)
 -T  --temp-dir=DIR          create temporary files in directory DIR
     --compare-dest=DIR      also compare destination files relative to 
DIR
 -P                          equivalent to --partial --progress
 -z, --compress              compress file data
     --exclude=PATTERN       exclude files matching PATTERN
     --exclude-from=FILE     exclude patterns listed in FILE
     --include=PATTERN       don't exclude files matching PATTERN
     --include-from=FILE     don't exclude patterns listed in FILE
     --version               print version number
     --daemon                run as a rsync daemon
     --address               bind to the specified address
     --config=FILE           specify alternate rsyncd.conf file
     --port=PORT             specify alternate rsyncd port number
     --blocking-io           use blocking IO for the remote shell
     --stats                 give some file transfer stats
     --progress              show progress during transfer
     --log-format=FORMAT     log file transfers using specified format
     --password-file=FILE    get password from FILE
     --bwlimit=KBPS          limit I/O bandwidth, KBytes per second
 -h, --help                  show this help screen


Please see the rsync(1) and rsyncd.conf(5) man pages for full 
documentation
See http://rsync.samba.org/ for updates, bug reports, and answers
tconway at atlas
/cdrom/011002_1439>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
".\n" '
"There are some who call me.... Tim?"




Robert Gullace <BobG at Routescape.com>
Sent by: rsync-admin at lists.samba.org
11/06/2001 10:53 AM

 
        To:     "'rsync at lists.samba.org'" <rsync at lists.samba.org>
"'rsync-admin at lists.samba.org'" <rsync-admin at lists.samba.org>
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        Question
        Classification: 



Howdey,
            I was trying to find out if it is possible to have RSYNC only 
give me the transfer stats that it 
normally gives at the end of a transfer when using the ?v switch. BUT I do 
not what to have the long 
list of files that are accompanied with it. Is there a way to do this?
 
Thank you.
Bob.
 
Here is my current rsync script line.
 
/usr/local/lib/rsync/bin/rsync -azR --delete --bwlimit=512 --exclude-fro
m=/usr/local/lib/rsync/lib/exclude $fdlist1 $fdlist2 
rsyncbkupsrv::ROOT_FILE_SYS
 >>$LOGFILE 2>&1






More information about the rsync mailing list