{"id":7207,"date":"2022-12-20T19:35:50","date_gmt":"2022-12-20T22:35:50","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/filehomedirdarwincocoa-man3\/"},"modified":"2022-12-20T19:35:50","modified_gmt":"2022-12-20T22:35:50","slug":"filehomedirdarwincocoa-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/filehomedirdarwincocoa-man3\/","title":{"rendered":"File::HomeDir::Darwin::Cocoa (man3)"},"content":{"rendered":"<h1 align=\"center\">File::HomeDir::Darwin::Cocoa<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">File::HomeDir::Darwin::Cocoa \u2212 Find your home and other directories on Darwin (OS X)<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This module provides Darwin-specific implementations for determining common user directories using Cocoa <small>API<\/small> through Mac::SystemDirectory. In normal usage this module will always be used via File::HomeDir.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Theoretically, this should return the same paths as both of the other Darwin drivers.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Because this module requires Mac::SystemDirectory, if the module is not installed, File::HomeDir will fall back to File::HomeDir::Darwin.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">use File::HomeDir; <br \/> # Find directories for the current user <br \/> $home = File::HomeDir\u2212>my_home; # \/Users\/mylogin <br \/> $desktop = File::HomeDir\u2212>my_desktop; # \/Users\/mylogin\/Desktop <br \/> $docs = File::HomeDir\u2212>my_documents; # \/Users\/mylogin\/Documents <br \/> $music = File::HomeDir\u2212>my_music; # \/Users\/mylogin\/Music <br \/> $pics = File::HomeDir\u2212>my_pictures; # \/Users\/mylogin\/Pictures <br \/> $videos = File::HomeDir\u2212>my_videos; # \/Users\/mylogin\/Movies <br \/> $data = File::HomeDir\u2212>my_data; # \/Users\/mylogin\/Library\/Application Support<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright 2009 \u2212 2011 Adam Kennedy.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright 2017 \u2212 2020 Jens Rehsack<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  File::HomeDir::Darwin::Cocoa \u2212 Find your home and other directories on Darwin (OS X) <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3537,3007],"class_list":["post-7207","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-filehomedirdarwincocoa","tag-man3"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=7207"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7207\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=7207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=7207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=7207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}