Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: two way file synchronization

  1. Registered TeamPlayer
    Join Date
    07-21-09
    Posts
    4,096
    Post Thanks / Like
    Stat Links

    two way file synchronization two way file synchronization
    #11

    Re: two way file synchronization

    Quote Originally Posted by jmw_man View Post
    Whats the best way to do two way file synchronization. Is there a specific software I should use. Can I do it with all types of files?
    Quote Originally Posted by jmw_man View Post
    Also, I have the same question about one way file synchronization (mirror). I guess I should explain. Lets say I have this file that's a master file to something, but it's far away and I don't have access to it, but lets say I have dropbox setup on that computer, is it possible to put a mirrored file in that drop box so I have access to is? And, is it possible for that file in the dropbox folder to be a two way sync so if changes are made to it then it will update the master file?

    EDIT: looks like I misunderstood your issue. You only needed a one-shot thing, not a continuous versioning. I've left my original response so that history won't forget my fuckups.


    Æ


    It kinda sounds like you're looking for a simple revision control system.

    You have a library (models, right?) and changes to a model might get made by anyone who works there. You want to make sure that when someone improves a model that the new version becomes the one that everyone sees - the guy who just made the edits, the other guys who might also open that file, the file server which stores what you call the Master File, and any machine that accesses that file.

    You need it to work so that when someone makes a new model, it shows up everywhere.

    But you also need to be sure that you avoid weird things; like two people edit a model at the same time and make different edits and then both try to save them and then your shop collapses into a black hole.

    This is the use case for which revision control was invented. I've used Subversion (SVN). Git is popular now. There is an overhead associated with any of them. Users will need to learn something new, and make minor adjustments to their workflow.

    Subversion, Git, etc., usually deal with software. You don't do software. But there's got to be a revision control system for what you do. ... but don't you use a database for your library? Why isn't the database handling this?

    Cheers,


    AetheLove
    Last edited by AetheLove; 05-18-12 at 08:45 AM.

  2. Registered TeamPlayer jmw_man's Avatar
    Join Date
    09-06-07
    Posts
    4,551
    Post Thanks / Like
    #12

    Re: two way file synchronization

    I think I figured it out. I can't delete (even with DEL in C prompt) because it removes both files or directories. But I used the RMDIR command in C prompt to remove the directory in the dropbox folder and the original directory is still there. Sound like the proper course taken?

  3. Registered TeamPlayer jmw_man's Avatar
    Join Date
    09-06-07
    Posts
    4,551
    Post Thanks / Like
    #13

    Re: two way file synchronization

    Quote Originally Posted by AetheLove View Post
    EDIT: looks like I misunderstood your issue. You only needed a one-shot thing, not a continuous versioning. I've left my original response so that history won't forget my fuckups.


    Æ


    It kinda sounds like you're looking for a simple revision control system.

    You have a library (models, right?) and changes to a model might get made by anyone who works there. You want to make sure that when someone improves a model that the new version becomes the one that everyone sees - the guy who just made the edits, the other guys who might also open that file, the file server which stores what you call the Master File, and any machine that accesses that file.

    You need it to work so that when someone makes a new model, it shows up everywhere.

    But you also need to be sure that you avoid weird things; like two people edit a model at the same time and make different edits and then both try to save them and then your shop collapses into a black hole.

    This is the use case for which revision control was invented. I've used Subversion (SVN). Git is popular now. There is an overhead associated with any of them. Users will need to learn something new, and make minor adjustments to their workflow.

    Subversion, Git, etc., usually deal with software. You don't do software. But there's got to be a revision control system for what you do. ... but don't you use a database for your library? Why isn't the database handling this?

    Cheers,


    AetheLove
    For the most part, I'm just playing around, but I'm mainly looking for other options other than remote controlling a computer. I'm actually playing around with the database itself and trying to give my computer (in Dallas) active access to the database that is on the server (in Houston). Cloud based file synchronization seems to be the only way to go.

    No need to worry about revision control just yet, I'm the only person that works with models.

  4. Registered TeamPlayer jmw_man's Avatar
    Join Date
    09-06-07
    Posts
    4,551
    Post Thanks / Like
    #14

    Re: two way file synchronization

    Quote Originally Posted by jmw_man View Post
    I think I figured it out. I can't delete (even with DEL in C prompt) because it removes both files or directories. But I used the RMDIR command in C prompt to remove the directory in the dropbox folder and the original directory is still there. Sound like the proper course taken?
    The message above was only in reference to a test I performed. When I went to complete the action on the actual sensitive files, C prompt responded with "access is denied".

  5. Registered TeamPlayer
    Join Date
    07-21-09
    Posts
    4,096
    Post Thanks / Like
    Stat Links

    two way file synchronization two way file synchronization
    #15

    Re: two way file synchronization

    Quote Originally Posted by jmw_man View Post
    For the most part, I'm just playing around, but I'm mainly looking for other options other than remote controlling a computer. I'm actually playing around with the database itself and trying to give my computer (in Dallas) active access to the database that is on the server (in Houston). Cloud based file synchronization seems to be the only way to go.

    No need to worry about revision control just yet, I'm the only person that works with models.

    Ahh, I think I understand now.

    Other than a vague idea of what it is, I don't know anything about Dropbox.

    If it was the sort of thing I wanted to do regularly (twice a day, nightly, every weekend) then I'd be looking to use rsync. If I was worried about security then I'd do it through a SSH tunnel - unless you already have a VPN between you and the other office.

    Home page: rsync

    It's standard in any modern *nix. I don't know about Windows. If it's not installed then you don't have the man page. Wikipedia has a decent overview:

    rsync - Wikipedia, the free encyclopedia

    Using rsync on its own will require a certain level of Command-line-Fu.

    A number of projects have written what are effectively GUI front-ends to rsync.

    Cheers,


    AetheLove

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Title