DO NOT REPLY [Bug 5665] New: need option to hard link from sourcetree to dest tree - Tools

This is a discussion on DO NOT REPLY [Bug 5665] New: need option to hard link from sourcetree to dest tree - Tools ; https://bugzilla.samba.org/show_bug.cgi?id=5665 Summary: need option to hard link from source tree to dest tree Product: rsync Version: 3.0.4 Platform: All OS/Version: All Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: Dave@Yost.com QAContact: rsync-qa@samba.org This is something I do ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: DO NOT REPLY [Bug 5665] New: need option to hard link from sourcetree to dest tree

  1. DO NOT REPLY [Bug 5665] New: need option to hard link from sourcetree to dest tree

    https://bugzilla.samba.org/show_bug.cgi?id=5665

    Summary: need option to hard link from source tree to dest tree
    Product: rsync
    Version: 3.0.4
    Platform: All
    OS/Version: All
    Status: NEW
    Severity: major
    Priority: P3
    Component: core
    AssignedTo: wayned@samba.org
    ReportedBy: Dave@Yost.com
    QAContact: rsync-qa@samba.org


    This is something I do a lot, and I've been using an older tool to do this.
    Rsync should do it, too.

    mkdir a b
    touch a/file1 a/file2
    rsync -a --new-option a b

    would create
    b/a/file1
    b/a/file2
    as shared links to their counterparts in a/


    --
    Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
    ------- You are receiving this mail because: -------
    You are the QA contact for the bug, or are watching the QA contact.
    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  2. DO NOT REPLY [Bug 5665] need option to hard link from source treeto dest tree

    https://bugzilla.samba.org/show_bug.cgi?id=5665


    matt@mattmccutchen.net changed:

    What |Removed |Added
    ----------------------------------------------------------------------------
    Severity|major |enhancement




    ------- Comment #1 from matt@mattmccutchen.net 2008-08-04 07:36 CST -------
    Just pass a --link-dest option for the source dir.


    --
    Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
    ------- You are receiving this mail because: -------
    You are the QA contact for the bug, or are watching the QA contact.
    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  3. DO NOT REPLY [Bug 5665] need option to hard link from source treeto dest tree

    https://bugzilla.samba.org/show_bug.cgi?id=5665





    ------- Comment #2 from Dave@Yost.com 2008-08-04 09:29 CST -------
    OK, but

    1. an option specifically for this is warranted.
    2. the new option would operate quite differently from using link_dest, as
    below

    --clone hard links the destination to the source. If necessary, each existing
    destination file is removed first. It is an error to use this option unless src
    and dest are on the same volume.


    --
    Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
    ------- You are receiving this mail because: -------
    You are the QA contact for the bug, or are watching the QA contact.
    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  4. DO NOT REPLY [Bug 5665] need option to hard link from source treeto dest tree

    https://bugzilla.samba.org/show_bug.cgi?id=5665





    ------- Comment #3 from matt@mattmccutchen.net 2008-08-04 09:38 CST -------
    (In reply to comment #2)
    > 1. an option specifically for this is warranted.


    Why?

    > 2. the new option would operate quite differently from using link_dest, as
    > below
    >
    > --clone hard links the destination to the source. If necessary, each existing
    > destination file is removed first.


    The --recheck-basis-dirs option of bug 5644 would make --link-dest work that
    way.

    > It is an error to use this option unless src
    > and dest are on the same volume.


    Is it really important for rsync to issue an error in this case?


    --
    Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
    ------- You are receiving this mail because: -------
    You are the QA contact for the bug, or are watching the QA contact.
    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  5. DO NOT REPLY [Bug 5665] need option to hard link from source treeto dest tree

    https://bugzilla.samba.org/show_bug.cgi?id=5665


    wayned@samba.org changed:

    What |Removed |Added
    ----------------------------------------------------------------------------
    Status|NEW |RESOLVED
    Resolution| |WONTFIX




    ------- Comment #4 from wayned@samba.org 2008-10-02 14:01 CST -------
    I personally don't see the need for this as a special option.


    --
    Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
    ------- You are receiving this mail because: -------
    You are the QA contact for the bug, or are watching the QA contact.
    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


+ Reply to Thread