{"id":156,"date":"2008-03-16T12:20:39","date_gmt":"2008-03-16T20:20:39","guid":{"rendered":"https:\/\/www.laaker.com\/micah\/blog\/2008\/moving-selected-files-in-the-os-x-finder-to-a-new-folder"},"modified":"2008-03-17T00:01:27","modified_gmt":"2008-03-17T08:01:27","slug":"moving-selected-files-in-the-os-x-finder-to-a-new-folder","status":"publish","type":"post","link":"https:\/\/www.laaker.com\/micah\/blog\/2008\/moving-selected-files-in-the-os-x-finder-to-a-new-folder","title":{"rendered":"Moving Selected Files in the OS X Finder to a New Folder"},"content":{"rendered":"<p>I&#8217;ve had a recurring problem for years in Mac OS X.<\/p>\n<p>Whenever I need to do a backup, I find myself repeating a pattern. I select a series of files and folders, and then check their total file size via the Finder&#8217;s Inspector palette (Cmd-Option-I) to see how close that is to the CD\/DVD disc&#8217;s available space. Once I get just the right amount (i.e. 760MB, 4.3GB, or 8.1GB), I then want to isolate these files so as to remember which groups of files will make up their own disc. <\/p>\n<p>The problem with this approach, is that the best way to do this (that I&#8217;d found to date) was to create a new folder, and move those files inside that folder. Unfortunately, I don&#8217;t always have a pile of empty folders waiting right along side these files ready to hold them. If I then create a new folder, it often loses the selection of the files I had (as the OS now focuses attention on the new folder, rather than the previous selection). As such, I then have to go through the same task I did before creating the folder (manually selecting and sizing different groups of files). <\/p>\n<p>There has to be a better way. I tried a number of different 3rd-party add-ons and applications, but nothing quite did the trick. And, in the absence of all hope, I finally tried Apple&#8217;s <a href=\"http:\/\/www.apple.com\/macosx\/features\/300.html#automator\">Automator<\/a>, which reminded me a bit of <a href=\"http:\/\/pipes.yahoo.com\/\">Yahoo!&#8217;s Pipes<\/a>.<\/p>\n<p>I first checked to see whether anyone else had solved this issue via <a href=\"http:\/\/www.apple.com\/downloads\/macosx\/automator\/\">Apple&#8217;s Automator Downloads<\/a> and a <a href=\"http:\/\/automator.us\/\">3rd-party Automator downloads site<\/a>, but no go. <\/p>\n<p>I then did what any grown man or woman would do&#8230; search for it on the Web. Still no luck.<\/p>\n<p>Finally, I broke down, and tried to pipe a solution together in Automator. <\/p>\n<p>It took hours. And several separate attempts.<\/p>\n<p>Maybe you need a CS degree to figure out Automator? I&#8217;m not sure. But wiring together such a taskflow proved nearly impossible&#8230; at least, wiring together a <em>graceful<\/em> experience of such a taskflow proved impossible. Certain components in Automator allow variables, but I can&#8217;t define the output of one step as a variable that can then be used in another step. Unfortunate.<\/p>\n<p>Eventually, and largely due to a mistake, I was able to get a solution in place by forcing a series of dialog boxes. It&#8217;s far from graceful, but now I can right\/Control-click on items I&#8217;ve already selected, and then navigate a quick contextual menu tree (More &#187; Automator &#187; Move Selected Items to Folder). After several seconds, a pop-up dialog box then asks whether to save it to the Desktop. Instead, choose &#8220;Other&#8230;&#8221; from the &#8220;To:&#8221; drop-down menu, and then create a new folder wherever you desire in the resulting Open dialog box. Then press the Open button, followed by the Continue button, and voila: your selected files\/folders move to their new folder.<\/p>\n<p>You can download this <a href=\"https:\/\/laaker.com\/etc\/software\/MoveSelectedItemstoFolder.zip\">&#8216;Move Selected Items to Folder&#8217; Automator workflow<\/a>, unzip the file, and install it on your Mac at &#8220;<code>~\/Library\/Workflows\/Applications\/Finder\/<\/code>&#8220;. If those folders don&#8217;t exist, I imagine you probably just need to create that folder structure to be in business. <\/p>\n<p>Don&#8217;t get me wrong. I&#8217;m happy Automator exists. Obviously, without it, I&#8217;d still be stuck with my broken taskflow. Nonetheless, Automator could stand to leverage some of Pipes&#8217; learnings (such as variable creation and concurrent task operations). (And, not to be partisan, Pipes, of course, could leverage some Automator&#8217;s beauty and Recording functionality&#8230; maybe via a Greasemonkey script?)<\/p>\n<p>If you&#8217;ve had similar taskflow problems, <a href=\"https:\/\/laaker.com\/etc\/software\/MoveSelectedItemstoFolder.zip\">download the workflow<\/a>, and let me know your thoughts. Also, if you know of a more graceful solution (or can code a more seamless Finder experience), please let me know&#8230; I imagine I&#8217;m not the only one who&#8217;s faced this issue before.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve had a recurring problem for years in Mac OS X. Whenever I need to do a backup, I find myself repeating a pattern. I select a series of files and folders, and then check their total file size via the Finder&#8217;s Inspector palette (Cmd-Option-I) to see how close that is to the CD\/DVD disc&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[69,81,303,302,301,31,222,304,32],"class_list":["post-156","post","type-post","status-publish","format-standard","hentry","category-blog","tag-apple","tag-automator","tag-download","tag-finder","tag-folder","tag-mac","tag-osx","tag-pipes","tag-software"],"_links":{"self":[{"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/posts\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":0,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}