{"id":70,"date":"2013-11-30T20:16:21","date_gmt":"2013-11-30T20:16:21","guid":{"rendered":"http:\/\/blog.electrongoo.org\/?p=70"},"modified":"2013-11-30T20:28:13","modified_gmt":"2013-11-30T20:28:13","slug":"how-to-manage-hard-linking-of-files","status":"publish","type":"post","link":"http:\/\/support.electrongoo.com\/?p=70","title":{"rendered":"How to manage hard-linking of files"},"content":{"rendered":"<table>\n<tbody>\n<tr>\n<td valign=\"top\"><img loading=\"lazy\" alt=\"\" src=\"http:\/\/snoopdedupe.com\/images\/bluearrow.jpg\" width=\"25\" height=\"22\" \/><\/td>\n<td>If you&#8217;re running Snoop-de-dupe on WHS\/SBS 2011 or later then you have the option to replace duplicate files with a hard-link.\u00a0 Hard-linking a file replaces the file data within one file with a pointer to the duplicate data within another file.\u00a0 Thus, hard drive space is re-claimed.<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><img loading=\"lazy\" alt=\"\" src=\"http:\/\/snoopdedupe.com\/images\/bluearrow.jpg\" width=\"25\" height=\"22\" \/><\/td>\n<td>Note, if you hard-link &#8220;File A&#8221; to &#8220;File B&#8221; and then delete &#8220;File B&#8221; then &#8220;File A&#8221; will remain on your Server as you would expect. You never have to worry about &#8220;accidently&#8221; deleting a duplicate hard-linked file when you delete the file it has been hard-linked to<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><img loading=\"lazy\" alt=\"\" src=\"http:\/\/snoopdedupe.com\/images\/bluearrow.jpg\" width=\"25\" height=\"22\" \/><\/td>\n<td>If C:\\MyDocument.txt and C:\\GoodStuff\\Document.txt are duplicates and you replace them with a hardlink. Both file entries are still there, but they now point to the same data. Thus, any changes made to C:\\MyDocument.txt are also reflected in C:\\GoodStuff\\Document.txt and vice-versa. This is because the two entries point to the same data. Another way to think of hardlinks is a person who has nicknames or aliases. If John Doe is also known as Doughman, he would answer to either name, and anything that happens to John Doe also happens to Doughman. So if Doughman breaks his arm, John Doe also broke his arm, because they are the same person.<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><img loading=\"lazy\" alt=\"\" src=\"http:\/\/snoopdedupe.com\/images\/bluearrow.jpg\" width=\"25\" height=\"22\" \/><\/td>\n<td>More technical details about <a href=\"http:\/\/en.wikipedia.org\/wiki\/Hard_link\">hard links<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re running Snoop-de-dupe on WHS\/SBS 2011 or later then you have the option to replace duplicate files with a hard-link.\u00a0 Hard-linking a file replaces the file data within one file with a pointer to the duplicate data within another file.\u00a0 Thus, hard drive space is re-claimed. Note, if you hard-link &#8220;File A&#8221; to &#8220;File &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/support.electrongoo.com\/?p=70\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to manage hard-linking of files&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=\/wp\/v2\/posts\/70"}],"collection":[{"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=70"}],"version-history":[{"count":3,"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":79,"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=\/wp\/v2\/posts\/70\/revisions\/79"}],"wp:attachment":[{"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/support.electrongoo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}