File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sync two systems

 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • 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.
 
Amit Ghorpade
Bartender
Posts: 2851
10
Fedora Firefox Browser Java
  • 0
  • 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...
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • 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.
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • 0
  • 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.
 
Pat Farrell
Rancher
Posts: 4660
5
Linux Mac OS X VI Editor
  • 0
  • 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
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • 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: 4660
5
Linux Mac OS X VI Editor
  • 0
  • 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: 3830
  • 0
  • 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: 3830
  • 0
  • 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: 3830
  • 0
  • 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: 3830
  • 0
  • 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.
 
Paul Clapham
Sheriff
Pie
Posts: 20166
24
MySQL Database
  • 0
  • 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: 4660
5
Linux Mac OS X VI Editor
  • 0
  • 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: 3830
  • 0
  • 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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic