Author Topic: Linux FTP Synch Utility  (Read 813 times)

Afasoas

Linux FTP Synch Utility
« on: 25 April, 2013, 04:12:23 pm »
I use a linux virtual PC as a development platform for client website changes.
Now one client is using an SEO company who are directly editing the website.

What I'd like to do is run a single command that will automatically refresh my development copy of the website before I start a piece of work.

There's usually a short time period between my starting/completing website changes so I'm not too worried about overwriting the SEO companies changes when I re-upload - and I'm sure I can do a comparison between the live site and development site before I do upload.

Any thoughts/help from the panel?

Re: Linux FTP Synch Utility
« Reply #1 on: 25 April, 2013, 04:14:47 pm »
rsync

And if you can't use that then lftp or ncftp have "mirror" modes that can do what you want.
"Yes please" said Squirrel "biscuits are our favourite things."

Oaky

  • ACME Fire Safety Officer
  • Audax Club Mid-Essex
    • MEMWNS Map
Re: Linux FTP Synch Utility
« Reply #2 on: 25 April, 2013, 04:28:30 pm »
sitecopy might also fit the bill.
You are in a maze of twisty flat droves, all alike.

85.4 miles from Marsh Gibbon

Audax Club Mid-Essex Fire Safety Officer
http://acme.bike

David Martin

  • Thats Dr Oi You thankyouverymuch
Re: Linux FTP Synch Utility
« Reply #3 on: 25 April, 2013, 04:31:09 pm »
Tell them to behave themselves and use a version control system like git.
"By creating we think. By living we learn" - Patrick Geddes

Afasoas

Re: Linux FTP Synch Utility
« Reply #4 on: 27 April, 2013, 11:16:17 pm »
Thank you :)

vorsprung

  • Opposites Attract
    • Audaxing
Re: Linux FTP Synch Utility
« Reply #5 on: 28 April, 2013, 09:31:33 pm »
When I was faced with this kind of problem (about 10 years ago) I used to run a program called "tripwire" on the server.  This took a checksum of every file into a database and then reran the checksums once a day and emailed me if anything had changed.

Of course that was 10 years ago and nowadays things like git (like David Martin suggests) are more widely used

Afasoas

Re: Linux FTP Synch Utility
« Reply #6 on: 30 April, 2013, 01:55:30 pm »
The simplest method seems to be using wget, which has a mirroring mode

http://www.howtoforge.com/using-wget-with-ftp-to-download-move-web-sites-recursively