LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Best way to combine files? (https://www.linuxquestions.org/questions/programming-9/best-way-to-combine-files-174357/)

JockVSJock 04-25-2004 08:31 AM

Best way to combine files?
 
I have three different computers, and I use them all to surf the web. SO, they all have different favorites, and this bothers me.

So what I would like to do is export the favorites to my file server and use some either diff, sort, or cmp?

I have done some programming with awk, sed and perl in the past, but it has been awhile, but again, I'm basically looking to synch up my favorites from all three computers on one machine and then push them out to the different computers.

thanks

Hko 04-25-2004 08:33 AM

I'd try "rsync".

<edit>
As a second thought, rsync may not be a good idea...
unless each bookmark is stored in a seperate file by your browser(s).
</edit>

or store them in one place export/shared with nfs/samba.

JockVSJock 04-25-2004 09:20 AM

Thanks for the quick reply.

I have not heard of rsynch, but will research it.

I have moved all favorites from each computer to my file server under one directory were I have been looking at them trying to figure out what would be the best thing to do.

thanks

Hko 04-25-2004 09:43 AM

Quote:

Originally posted by JockVSJock
I have not heard of rsynch, but will research it.
It's "rsync" (without 'h')
It's most used for mirroring servers and backups, very quickly.
It won't help your case if bookmarks are stored in a single file (see the <edit> in my first reply)

JockVSJock 04-25-2004 07:38 PM

I think this is what I'm looking for...

Unison

Basically copy files that are different, but may have the same content over to a file server, sync them up and then send them back onto their merry way.


All times are GMT -5. The time now is 05:29 PM.