• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

sync two systems

 
Ranch Hand
Posts: 3851
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a desktop & a laptop on my desk. While desktop is connected to network (LAN), laptop isn't.
Give me some creative idea on how do I keep these two machines in sync.

Thanks.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By "creative" you mean meaningless?
If not then this question goes to General computing...
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remove the laptop's harddisk, connect it to a harddisk interface cable in the desktop, copy the contents to or from the laptop harddisk, and put the harddisk back in the laptop.

Hey, you asked for creative ideas, not practical ones?!

A bit more practical is buying a network cable and connecting the laptop to the network, so that you can easily copy files to and from it from the desktop.
 
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
get an ext. hd and use the sync feature the s/w shd come with.
 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use rsync to synchronize the directories that you care about. Do not attempt to synchronize all directories, unless you *know* that the hardware is identical. And maybe not even then.

setup a cron job to run the rsync automatically.
 
Jesper de Jong
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But Pat, do you think that's going to work if the laptop is not connected to the network?
 
Pat Farrell
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jesper Young wrote:But Pat, do you think that's going to work if the laptop is not connected to the network?



Wow, sorry, missed that part.

I can't imagine a computer these days not being connected to a LAN and onto the greater Internet.

Even cell phones are connected to the Internet
 
ankur rathi
Ranch Hand
Posts: 3851
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jesper Young wrote:Remove the laptop's harddisk, connect it to a harddisk interface cable in the desktop, copy the contents to or from the laptop harddisk, and put the harddisk back in the laptop.



The last thing I'd do...


A bit more practical is buying a network cable and connecting the laptop to the network, so that you can easily copy files to and from it from the desktop.



Can't do that due to some reason.
 
ankur rathi
Ranch Hand
Posts: 3851
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Arvind Mahendra wrote:get an ext. hd and use the sync feature the s/w shd come with.



This one is cool but I'll have to buy external hard drive.
 
ankur rathi
Ranch Hand
Posts: 3851
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can there be a software provides:
1. I configure the folders I care about, once.
2. It creates some kind of file, when I run it.
3. I take that file through USB drive or something & copy it in my laptop.
4. It sync the folders in my laptop (incremental or just the delta), when I run it again in my laptop.

I think, sync mentioned by Arvind does similar kind of job...
 
ankur rathi
Ranch Hand
Posts: 3851
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Amit Ghorpade wrote:By "creative" you mean meaningless?
If not then this question goes to General computing...



You can move it into general computing but I am okay with wired kind of ideas.
 
Marshal
Posts: 26133
77
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

ankur rathi wrote:

Jesper Young wrote:A bit more practical is buying a network cable and connecting the laptop to the network, so that you can easily copy files to and from it from the desktop.



Can't do that due to some reason.



In that case I would recommend dropping the laptop into wet concrete. Make sure the laptop is completely submerged. When the concrete hardens, you won't need to ask the question any more.
 
Pat Farrell
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

ankur rathi wrote:Can't do that due to some reason.



This is starting to sound like an overly constrained problem.

You could use something like Laplink, which can use USB or serial cables, and if you buy the right version, the cables are included in the box. But from a practical view, its all the same whether you use Ethernet cable, WiFi, or special LapLink cables. Its a network connection, and then you can use either general software such as rsync or "scp" or the LapLink software.

From a practical view, its all the same.

You could use "sneakernet" or even "floppynet" which just means plugging in a USB dongle or floppy, copy the files, remove it, plug into second computer and copy again. But its really isomorphic.

With any connection, you want to use checksums rather than file system dates, and you need to detect and handle when some files are changed on each system. tools like CVS, SVN and GIT do this, but they assume a network.

 
ankur rathi
Ranch Hand
Posts: 3851
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul Clapham wrote:

ankur rathi wrote:

Jesper Young wrote:A bit more practical is buying a network cable and connecting the laptop to the network, so that you can easily copy files to and from it from the desktop.



Can't do that due to some reason.



In that case I would recommend dropping the laptop into wet concrete. Make sure the laptop is completely submerged. When the concrete hardens, you won't need to ask the question any more.




Can't do that due to some reason.

 
Seriously? That's what you're going with? I prefer this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic