[Cialug] Is there a better way to sync two directories?
Adam Shannon
adam at ashannon.us
Mon Jan 2 14:20:41 CST 2012
Hello all,
I'm moving web hosts (from a restricted 1and1 box to an amazon
instance) and I was wondering if there was a better way to copy all of
the files over. The biggest part is my image hosting site, which I
would like to keep the amazon box as close as I can to my 1and1 box.
However, on my 1and1 box I don't have access to install programs (so
rsync is out). What I'm doing to start is using scp to transfer
everything over, however it looks like scp will copy files even if
they already exist. With 16,000+ images I'd rather not do that (if I
want to keep the two boxes as similar as possible during the move).
My question is, is there a better way to ensure the two boxes are the
same even on this limited setup?
Thanks,
--
Adam Shannon
Web Developer
University of Northern Iowa
Sophomore -- Computer Science B.S. & Mathematics
http://ashannon.us
More information about the Cialug
mailing list