Displaying 2 results from an estimated 2 matches for "rsynccmd".
Did you mean:
rsync_cmd
2011 Apr 03
3
Download the repo DAG of CentOS 5.5
hello
somebody might help to create a script to download the repo DAG of
CentOS 5.5 to my PC. I already did with OS, Update, and Extras packages.
I want to do with DAG repository.
I tried but I don't know much about scripts.
Thanks
Fidel
2004 Mar 24
1
rsync --files-from with symlink in path
...-files-from
option that is now avalible. Here is somewhat of what my new script
does:
#!/usr/local/bin/bash
###OPTIONS####
rsyncfiles ()
{
RSYNC_OPT=${1}
FROMFILE=${2}
SOURCE=${3} # user@host: or :
DESTINATION=${4} # user@host: or :
if [ -r "${FROMFILE}" ]
then
echo ${RSYNCCMD} -e "${SSH}" ${RSYNC_OPT} ${EXCLUDE} ${INCLUDE}
--files-from=${FROMFILE} ${SOURCE} ${DESTINATION}
${RSYNCCMD} -e "${SSH}" ${RSYNC_OPT} ${EXCLUDE}
${INCLUDE} --files-from=${FROMFILE} ${SOURCE} ${DESTINATION}
fi
}
Which I pass a command like:
rsyncfiles "${RSYNC_OPT}&q...