1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dropbox syncing a specific file

Discussion in 'Windows & Other Software' started by rctneil, 5 Jun 2010.

  1. rctneil

    Wise Guy

    Joined: 31 Jan 2007

    Posts: 1,864

    Hello,
    I have a specific file that I need to sync into the Public folder of dropbox but it MUST stay in its current location.

    I have read that I can use a symbolic link to make this happen.

    The problem is that I do not understand how to set that up or what the syntax means. I ahve checked on sites giving instructions but it seems too complicated. If someone on here could post a script I can use to set this up and explain in plain english what the script is saying then it would be most appreciated.

    Thanks

    Regards,
    Neil
     
  2. rctneil

    Wise Guy

    Joined: 31 Jan 2007

    Posts: 1,864

    Anyone able to help me here? I could do with having this set up tonight if at all possible!
     
  3. SiriusB

    Capodecina

    Joined: 16 Dec 2005

    Posts: 14,448

    Location: Manchester

    fsutil hardlink create NewFilename ExistingFilename

    NewFilename and ExistingFilename being the full paths.
     
  4. rctneil

    Wise Guy

    Joined: 31 Jan 2007

    Posts: 1,864

    Could you please explain in english what that is actually doing? - I'm just interested and like to actually know what it's doing.

    Thanks
     
  5. rctneil

    Wise Guy

    Joined: 31 Jan 2007

    Posts: 1,864

    All the stuff I found keeps showing me this:

    MKLINK [[/D] | [/H] | [/J]] Link Target

    /D Creates a directory symbolic link. Default is a file
    symbolic link.
    /H Creates a hard link instead of a symbolic link.
    /J Creates a Directory Junction.
    Link specifies the new symbolic link name.
    Target specifies the path (relative or absolute) that the new link
    refers to.

    But I don;t know how to use that to do what I need.?

    I'm on Windows 7 by the way
     
  6. SiriusB

    Capodecina

    Joined: 16 Dec 2005

    Posts: 14,448

    Location: Manchester

    It creates a new "file" which is a hardlink to an actual file on your HDD. Precisely what you asked for :)

    EDIT: Dunno why you keep getting all that junk. I am on Windows 7 too.
     
  7. rctneil

    Wise Guy

    Joined: 31 Jan 2007

    Posts: 1,864

    Right, That seemed to work fine,

    If I ever wanted to modify or remove it, how would I do that?
     
  8. SiriusB

    Capodecina

    Joined: 16 Dec 2005

    Posts: 14,448

    Location: Manchester

    You can delete it like a regular file if you don't want it anymore.