{"id":124,"date":"2009-12-11T18:00:30","date_gmt":"2009-12-11T18:00:30","guid":{"rendered":"http:\/\/otioti.com\/?p=124"},"modified":"2013-03-05T18:26:19","modified_gmt":"2013-03-05T18:26:19","slug":"damn-it","status":"publish","type":"post","link":"https:\/\/www.otioti.com\/?p=124","title":{"rendered":"damn it!"},"content":{"rendered":"<p>First, i&#8217;m sorry for the title, but&#8230;<\/p>\n<ul>\n<li>Have you ever had a coworker that deleted a directory or some files of a server?<\/li>\n<li>Have you ever had to reinstall a MaOSX Server caused of deleted files?<\/li>\n<\/ul>\n<p>Well, that happened to me. Yesterday a coworker deleted \/usr\/bin folder content of MacOSX Server. I tried to copy files from my own Macbook&#8230; No! Failure!<\/p>\n<p>Well, today, i waked up because of i had a dream repairing this problem. Has it ever happened to you?<\/p>\n<p>Ok, let&#8217;s understood how can we recover those files. The shopping list is:<\/p>\n<ul>\n<li>MacOSX Server Installation DVD<\/li>\n<li>Pacifist: http:\/\/www.charlessoft.com\/<\/li>\n<li>Macbook or other kind of computer with Mac OS<\/li>\n<li>30 minutes<\/li>\n<\/ul>\n<p>Install Pacifist, open Apple Install Disc, and search next packages:<\/p>\n<ul>\n<li>BSD.pkg<\/li>\n<li>BaseSystem.pkg<\/li>\n<\/ul>\n<p>Inside them we&#8217;ll find \/usr\/bin folders. Just extract them to a directory on your Mac.<\/p>\n<p>But, there is another problem, if we copy files using scp, we won&#8217;t copy them because of server doesn&#8217;t have \/usr\/bin\/scp.<\/p>\n<p>Ok, let&#8217;s copy scp to a http server and then download the file using Safari.<\/p>\n<p>Copy it to \/usr\/bin and now, we could copy all files using scp.<\/p>\n<p>Funny \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, i&#8217;m sorry for the title, but&#8230; Have you ever had a coworker that deleted a directory or some files of a server? Have you ever had to reinstall a MaOSX Server caused of deleted files? Well, that happened to me. Yesterday a coworker deleted \/usr\/bin folder content of MacOSX Server. I tried to copy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,5],"tags":[31,30,32],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-fun-at-work","category-macosx","tag-macosx-2","tag-recovery","tag-thingshappens"],"_links":{"self":[{"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.otioti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124"}],"version-history":[{"count":1,"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":268,"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions\/268"}],"wp:attachment":[{"href":"https:\/\/www.otioti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.otioti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.otioti.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}