{"id":33,"date":"2005-11-12T16:43:58","date_gmt":"2005-11-12T20:43:58","guid":{"rendered":"http:\/\/vitamin-max.com\/word\/?p=33"},"modified":"2005-11-12T16:49:30","modified_gmt":"2005-11-12T20:49:30","slug":"automator%e8%87%aa%e5%8a%a8%e5%a4%87%e4%bb%bd%e5%88%b0ftp%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/vitamin-max.com\/word\/2005\/11\/automator%e8%87%aa%e5%8a%a8%e5%a4%87%e4%bb%bd%e5%88%b0ftp%e6%9c%8d%e5%8a%a1%e5%99%a8\/","title":{"rendered":"[Automator]\u81ea\u52a8\u5907\u4efd\u5230FTP\u670d\u52a1\u5668"},"content":{"rendered":"<p>Automator \u786e\u5b9e\u662f\u4e00\u4e2a\u975e\u5e38\u68d2\u7684\u8f6f\u4ef6\uff1a\u4f60\u53ef\u4ee5\u7528\u5b83\u751f\u6210\u5404\u79cd\u5404\u6837\u7684\u81ea\u52a8\u5316\u811a\u672c\uff0c\u800c\u4e14\u76f8\u5bf9\u975e\u5e38\u7b80\u5355\u3002\u6211\u65e5\u76ca\u611f\u89c9\u5230\u5907\u4efd\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u7279\u522b\u662f\u5f00\u59cb\u8fdb\u884c\u79d1\u7814\u4e4b\u540e\uff0c\u7814\u7a76\u83b7\u53d6\u7684\u4e00\u4e9b\u6570\u636e\u548c\u81ea\u5df1\u5199\u7684\u6587\u4ef6\uff0c\u90fd\u975e\u5e38\u91cd\u8981\u800c\u4e14\u5e94\u8be5\u7ecf\u5e38\u5907\u4efd\u3002<\/p>\n<p \/>\u6211\u4eec\u53ef\u4ee5\u6709\u5f88\u591a\u5907\u4efd\u7684\u65b9\u6cd5\uff1a\u62f7\u8d1d\u5230ZIP\u76d8\uff0c\u70e7\u5f55\u5230\u5149\u76d8\uff0c\u7f51\u7edc\u670d\u52a1\u5668\uff0c\u5916\u63a5\u786c\u76d8\u3002\u4f46\u662f\u8fd9\u4e9b\u65b9\u6cd5\u90fd\u9700\u8981\u7528\u6237\u81ea\u5df1\u8bb0\u5f97\u5b9a\u671f\u8fdb\u884c\u3002\u5982\u679c\u7528\u6237\u5fd8\u8bb0\u8fdb\u884c\u5907\u4efd\uff0c\u7ed3\u679c\u53ef\u80fd\u5c31\u4f1a\u5f88\u60b2\u60e8\u4e86\u3002<\/p>\n<p \/>\u63a5\u4e0b\u6765\u7684\u81ea\u52a8\u5316\u5904\u7406\u8fc7\u7a0b\u4f7f\u7528\u82f1\u6587\u63cf\u8ff0\uff1a<\/p>\n<p \/>\n<ol>\n<li><a href=\"http:\/\/editkid.com\/upload_to_ftp\/\">First of all you need Upload to FTP for Automator.<\/a> We will use this action to upload file. Download and install it.<\/li>\n<li>Open automator and let&#8217;s start adding actions. First action is Finder>Get specific Finder Items. You can then add the folder you need to backup regularly.<\/li>\n<li>Finder>Create Archive. Save as: file name you want, and where: you want to save the archive temprarily. Say desktop.<\/li>\n<li>Finder>Rename Finder Items. We can choose to add Date or Time to the archive we just made. We might always need to add the date of the archive so we know when is this backup made.<\/li>\n<li>Then we can use the Upload to FTP from Terminal>Upload to FTP. Basicly you enter the server address, user name and password, then the path to the backup folder\/location.<\/li>\n<li>After that we want to move the archive we made to trash. Finder>Find Finder Items. We can find the file from Desktop, and with name contains maybe &#8220;backup&#8221;, according to how you name your backup archive. To prevent moving some other files into the trash we could also add that we want the extension &#8220;is equal to&#8221; &#8220;zip&#8221;.<\/li>\n<li>Then Finder>Move to trash<\/li>\n<li>Done!<\/li>\n<\/ol>\n<p \/>So isn&#8217;t it amazing? Actually if you want to use it as iCal alarm so it can run at certain time every day or week or month, &#8220;Save as Plugin&#8221; in the Automator for iCal alarm. It will start iCal and you can define when you want this run.<\/p>\n<p \/>What&#8217;s more, because Automator is quite flexible, you can do other backup besides upload to FTP. I upload to FTP because I have a websever with quite a big space, and upload to FTP can be done all by the computer itself as long as it is running and connected to the internet. You can also do it by copying the backup to your external hard drive. Just connect your drive, create the workflow by replacing Upload to FTP to move\/copy the archive to a specific location in your external hard drive and you are all done. Every time you want to backup, just plug your external hard drive in and simply run the workflow.<\/p>\n<p \/>Automator is an amazing thing. It doesn&#8217;t make you feel so unless you need to do something tedious. And some of the things that you didn&#8217;t believe you can do, you can simply do it with Automator. Right now, such easy to use yet powerful automatic tool is only available to Mac OS X 10.4 users. NO Windows and we cannot see this even coming into Vista. And maybe you can do something similar in Windows by buying some third party softwares. But you can definitely do it yourself for free in Mac OS X Tiger (and above).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Automator \u786e\u5b9e\u662f\u4e00\u4e2a\u975e\u5e38\u68d2\u7684\u8f6f\u4ef6\uff1a\u4f60\u53ef\u4ee5\u7528\u5b83\u751f\u6210\u5404\u79cd\u5404\u6837\u7684\u81ea\u52a8\u5316\u811a\u672c\uff0c\u800c\u4e14\u76f8\u5bf9\u975e\u5e38\u7b80\u5355\u3002\u6211\u65e5\u76ca\u611f\u89c9\u5230\u5907\u4efd\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u7279\u522b\u662f\u5f00\u59cb\u8fdb\u884c\u79d1\u7814\u4e4b\u540e\uff0c\u7814\u7a76\u83b7\u53d6\u7684\u4e00\u4e9b\u6570\u636e\u548c\u81ea\u5df1\u5199\u7684\u6587\u4ef6\uff0c\u90fd\u975e\u5e38\u91cd\u8981\u800c\u4e14\u5e94\u8be5\u7ecf\u5e38\u5907\u4efd\u3002 \u6211\u4eec\u53ef\u4ee5\u6709\u5f88\u591a\u5907\u4efd\u7684\u65b9\u6cd5\uff1a\u62f7\u8d1d\u5230ZIP\u76d8\uff0c\u70e7\u5f55\u5230\u5149\u76d8\uff0c\u7f51\u7edc\u670d\u52a1\u5668\uff0c\u5916\u63a5\u786c\u76d8\u3002\u4f46\u662f\u8fd9\u4e9b\u65b9\u6cd5\u90fd\u9700\u8981\u7528\u6237\u81ea\u5df1\u8bb0\u5f97\u5b9a\u671f\u8fdb\u884c\u3002\u5982\u679c\u7528\u6237\u5fd8\u8bb0\u8fdb\u884c\u5907\u4efd\uff0c\u7ed3\u679c\u53ef\u80fd\u5c31\u4f1a\u5f88\u60b2\u60e8\u4e86\u3002 \u63a5\u4e0b\u6765\u7684\u81ea\u52a8\u5316\u5904\u7406\u8fc7\u7a0b\u4f7f\u7528\u82f1\u6587\u63cf\u8ff0\uff1a First of all you need Upload to FTP for Automator. We will use this action to upload file. Download and install it. Open automator and let&#8217;s start adding actions. First action is Finder>Get specific Finder Items. You can then add the folder you need to backup regularly. Finder>Create Archive. Save as:&hellip; <a class=\"more-link\" href=\"https:\/\/vitamin-max.com\/word\/2005\/11\/automator%e8%87%aa%e5%8a%a8%e5%a4%87%e4%bb%bd%e5%88%b0ftp%e6%9c%8d%e5%8a%a1%e5%99%a8\/\">Continue reading <span class=\"screen-reader-text\">[Automator]\u81ea\u52a8\u5907\u4efd\u5230FTP\u670d\u52a1\u5668<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category--apple","entry"],"_links":{"self":[{"href":"https:\/\/vitamin-max.com\/word\/wp-json\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vitamin-max.com\/word\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vitamin-max.com\/word\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vitamin-max.com\/word\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vitamin-max.com\/word\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":0,"href":"https:\/\/vitamin-max.com\/word\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/vitamin-max.com\/word\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vitamin-max.com\/word\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vitamin-max.com\/word\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}