Displaying 1 result from an estimated 1 matches for "celerityid".
Did you mean:
celerity
2004 Mar 24
1
rsync --files-from with symlink in path
Here is what I have been doing with rsync(This is condinced version of
the main script that runs):
#!/usr/local/bin/bash
SSH=/usr/local/bin/ssh
RSYNC=/usr/local/bin/rsync
SED=/usr/bin/sed
USER=vmladmin
ROLLLISTDIR=/home/vmladmin/rolllists/
ROLLFILE=${ROLLLISTDIR}rollfile.${CELERITYID}
EXCLUDEFILE=${ROLLLISTDIR}rollfile.exclude
RSYNC_OPT="-zrc --delete"
EXCLUDE="--exclude-from=${EXCLUDEFILE}"
BACKUP="--backup-dir=/opt/staging/rollbackup/${CELERITYID}-`date
+%Y%m%d%H%M`"
rsyncfiles ()
{
SERVER=${1}
SRCDIR=${2}
DESTDIR=${3}
for FILES in...