Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
file=`find /backup/Prod-DB-backup/.backup -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "` echo $file scp $file root@$1:/root/
file=`find /backup/Prod-DB-backup/.backup -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "`
echo $file
scp $file root@$1:/root/