{"id":41346,"date":"2023-12-07T15:14:07","date_gmt":"2023-12-07T20:14:07","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=41346"},"modified":"2023-12-07T15:14:07","modified_gmt":"2023-12-07T20:14:07","slug":"sonomas-cp-l-wont-create-links","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/12\/07\/sonomas-cp-l-wont-create-links\/","title":{"rendered":"Sonoma&rsquo;s &ldquo;cp -l&rdquo; Won&rsquo;t Create Links"},"content":{"rendered":"<p><a href=\"https:\/\/robservatory.com\/the-macos-version-of-the-cp-unix-command-wont-create-links\/\">Rob Griffiths<\/a>:<\/p>\n<blockquote cite=\"https:\/\/robservatory.com\/the-macos-version-of-the-cp-unix-command-wont-create-links\/\"><p>I ran into this while working on a <a href=\"https:\/\/keyboardmaestro.com\">Keyboard Maestro<\/a> macro that creates hard links: The macOS version of <code>cp<\/code> won&rsquo;t create links, at least not in Sonoma. In Ventura, it works even though it throws the same error as it does in Sonoma.<\/p><p>[&#8230;]<\/p><p>I have filed this bug as FB13255408 with Apple, and I&rsquo;m hopeful they fix it soon. There is a workaround, obviously: Use <code>ln<\/code> instead. This works fine for individual hard links, but using <code>cp<\/code> to quickly copy an entire folder as hard links is a nicer implementation.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Rob Griffiths: I ran into this while working on a Keyboard Maestro macro that creates hard links: The macOS version of cp won&rsquo;t create links, at least not in Sonoma. In Ventura, it works even though it throws the same error as it does in Sonoma.[&#8230;]I have filed this bug as FB13255408 with Apple, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-12-07T20:14:10Z","apple_news_api_id":"fc55ff92-635b-40f0-a03c-9624df2cf0b4","apple_news_api_modified_at":"2023-12-07T20:14:10Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A_FX_kmNbQPCgPJYk3yzwtA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1395,131,30,2223,2385,163],"class_list":["post-41346","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-file-system-apfs","tag-bug","tag-mac","tag-macos-13-ventura","tag-macos-14-sonoma","tag-unix"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=41346"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41346\/revisions"}],"predecessor-version":[{"id":41347,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41346\/revisions\/41347"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=41346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=41346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=41346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}