Displaying 1 result from an estimated 1 matches for "aquj001".
2013 Sep 04
2
issues syncing between one host and another
I have the following script that I am working on
#!/bin/bash
date=$(date +%F--%T)
#ssh parameters
user=aquj001
remotehost=qa4app
localdir=/home/aquj001/INFENG/scripts
remotedir=/home/aquj001/recievingDir.$date
linkdest=$(ssh $user@$remotehost /usr/linux/bin/readlink/
/home/aquj001/recievingDir.current)
rsync -a --compress --link-dest=$linkdest --out-format='%i %n%L %l %M'
--omit-dir-times "...