Page 1 of 1 [ 6 posts ] 

Madbones
Veteran
Veteran

User avatar

Joined: 7 Mar 2010
Age: 27
Gender: Male
Posts: 777
Location: In the zone

05 Dec 2011, 10:13 am

Hey!
I do web development on both my iMac and my Zotac linux box that runs Kubuntu 10.10.
But.. The files I want are on my iMac. I (sometimes) on holiday add things to my website thats localy hosted.
How do I sync the files on my iMac to the Linux box?
I dont want to have to keep on using a SD card to transfer the updated files backwards and forth.
Thanks!


_________________
?Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.? -Steve Jobs.


mcg
Veteran
Veteran

User avatar

Joined: 26 Jan 2010
Age: 34
Gender: Male
Posts: 538
Location: Sacramento

05 Dec 2011, 3:32 pm

Use SCP or a service like Dropbox.

Edit: Actually, if you're trying to sync mostly code, you may want to set up a source control system like Subversion or Git. They do a lot of useful stuff besides just keeping your files in sync.



dmm1010
Toucan
Toucan

User avatar

Joined: 21 Nov 2007
Age: 44
Gender: Male
Posts: 253
Location: Salem, WI, US

05 Dec 2011, 4:55 pm

I'd suggest that you look at rsync. It's a nice protocol/system that's designed to do what you want. If I recall correctly it's included with OS X. Most Linux distributions include rsync, or at least package it as an option.



Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 35
Gender: Male
Posts: 12,518
Location: Room 101

06 Dec 2011, 12:38 pm

Yes, rsync, but you have to make sure you're writing to a filesystem that Linux and Mac will both play nicely with.


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH


StuartN
Veteran
Veteran

User avatar

Joined: 20 Jan 2010
Age: 61
Gender: Male
Posts: 1,569

07 Dec 2011, 1:34 pm

Orwell wrote:
Yes, rsync, but you have to make sure you're writing to a filesystem that Linux and Mac will both play nicely with.


We have a Mac that syncs iTunes and iPhoto contents using rsync over ssh, which is completely problem-free. It uses a one-line script to incrementally backup to a NAS, shared by everyone.

We also sync a few work documents over Dropbox, for the sheer convenience - Dropbox works on an iPhone and (sort of) on other smartphones, but I would not rely on it.



whitelightning777
Snowy Owl
Snowy Owl

User avatar

Joined: 24 Jun 2008
Age: 51
Gender: Male
Posts: 143

11 Dec 2011, 7:37 am

I would have to go with a NAS drive on that one.

Be sure to give the NAS a static IP and plug it into the router or switch at your modem, NOT a wireless ethernet bridge or into one of the client computers sharing out its network card.

Someone I know tried to use a wireless bridge with one... Ho Hum... :oops:

Then use filezilla for the Linux system. If MAC has something better use that or else see if filezilla works for that as well.

Ironically, the only other thing would be maybe using SAMBA or making one machine a file server over the network via public folders. Yes, a NAS is another piece of hardware, but it makes life so much easier.