Carlos-Sz Posted February 6, 2013 Share Posted February 6, 2013 (edited) Zip: compress files and folders within AlfredOverview Zip files and/or folders Finder and Alfred File Action supported Unique filename Remove .DS_Store files Triggering keyword zip - after selecting files and/or folders in Finder, bring Alfred and type zip. You can optionally type the zip filename. You can optionally hold control key to select the zip file folder destination. hotkey - after selecting files and/or folders in Finder hit the hotkey. A new zip file will be created based on selection. Alfred File Action - select files and/or folders in Alfred file browser to zip (see screenshot below). What’s new in version 4.0 Alfred 3.0 supportWhat’s new in version 3.0 Select the destination folder by holding control key (keyword zip) Updated to Alfred 2.0.3 (187) Alleyoop 2 support Download Version 4.0 Release date: 08 Jun 2016 Requires Alfred 3 Download Now Zip for Alfred 2 Version 3.0 Release date: 23 Apr 2013 Requires Alfred 2.0.3 (187) Download Now Edited June 9, 2016 by Carlos-Sz twinpeaks, dkoder, thec13 and 1 other 4 Link to comment
Carlos-Sz Posted March 16, 2013 Author Share Posted March 16, 2013 Version 2 is ready: Alfred File Action with multiple files support Zip filename based on selection clean .DS_Store files Link to comment
Cedric Posted March 16, 2013 Share Posted March 16, 2013 Hi, Thanks for the extension, but there's a problem with your dropbox link.Cheers. Link to comment
bengr Posted March 16, 2013 Share Posted March 16, 2013 Hi, Thanks for the extension, but there's a problem with your dropbox link. Cheers. Working link Link to comment
Cedric Posted March 16, 2013 Share Posted March 16, 2013 It works perfectly. Being able to name the archive quickly is perfect.Thanks for this! Link to comment
MrMuetze Posted March 16, 2013 Share Posted March 16, 2013 (edited) Wow i love your nice little workflow. It pretty much seems to be a lot like the stuff I would love to see in a dropbox workflow I described right here: http://bit.ly/15SRd4O Maybe you could have a look and give me some tips or a possible solution how to get that done. Thanks in advance, MrMuetze Edited March 16, 2013 by MrMuetze Link to comment
lmartins Posted March 16, 2013 Share Posted March 16, 2013 Brilliant!!! Thanks for sharing :-) Link to comment
Carlos-Sz Posted March 16, 2013 Author Share Posted March 16, 2013 Working link Thank you. Initial post download link fixed. It works perfectly. Being able to name the archive quickly is perfect. Thanks for this! Great to hear! Sometimes I need to name an archive too. Wow i love your nice little workflow. It pretty much seems to be a lot like the stuff I would love to see in a dropbox workflow I described right here: http://bit.ly/15SRd4O Maybe you could have a look and give me some tips or a possible solution how to get that done. Thanks in advance, MrMuetze I’ll take a look. I also use DropBox. I made a simple workflow for it (move a file to Public folder and copy the URL to the clipboard) that I still need to update to make it even easier to configure. Brilliant!!! Thanks for sharing :-) Thank you. Link to comment
RodgerWW Posted April 22, 2013 Share Posted April 22, 2013 Any progress on selection of folder? I have tried this myself, well, just making the zip on my desktop with AppleScript and with BASH ... I can make a zip on my desktop with ditto, but, it's just not as nice as this workflow is overall! I just personally hate that Finder insists on putting archives in the root folders. Link to comment
Carlos-Sz Posted April 22, 2013 Author Share Posted April 22, 2013 Any progress on selection of folder? I have tried this myself, well, just making the zip on my desktop with AppleScript and with BASH ... I can make a zip on my desktop with ditto, but, it's just not as nice as this workflow is overall! I just personally hate that Finder insists on putting archives in the root folders. To be honest I forgot about it. I’ll add it to my to do list. Thanks. Link to comment
Carlos-Sz Posted April 23, 2013 Author Share Posted April 23, 2013 Any progress on selection of folder? I have tried this myself, well, just making the zip on my desktop with AppleScript and with BASH ... I can make a zip on my desktop with ditto, but, it's just not as nice as this workflow is overall! I just personally hate that Finder insists on putting archives in the root folders. OK. Version 3.0 is out: Select the destination folder by holding fn key (keyword zip) Updated to Alfred 2.0.3 (187) Alleyoop 2 support See initial post for details. twinpeaks 1 Link to comment
spacecadet9 Posted April 23, 2013 Share Posted April 23, 2013 This is awesome Great workflow, really useful Thanks Link to comment
Martin Posted April 23, 2013 Share Posted April 23, 2013 Thanks a lot for this What do I use to select destination when I don't have a "fn" key, using the wired Apple keyboard? Link to comment
Carlos-Sz Posted April 23, 2013 Author Share Posted April 23, 2013 This is awesome Great workflow, really useful Thanks Thank you. Thanks a lot for this What do I use to select destination when I don't have a "fn" key, using the wired Apple keyboard? I completely forgot about wired one. I will use less the fn key for now on. I updated the workflow to use the control key (download link in initial post). Anyway, you can change it by double clicking the fn as seen in the screenshot below: Link to comment
RodgerWW Posted April 23, 2013 Share Posted April 23, 2013 (edited) Thank you for this update Carlos! I have one tiny little annoyance I can't put my finger on. If I do NOT select an item first, I get the follwing in the results title line: "Seletc items in Finder first" : notice the spelling? I looked over the scripts and it appears to be spelled correctly in them, sooo, any idea where this is coming from?' Sorry, I found it, it's in "zip_filter.scpt" line 8 Edited April 23, 2013 by RodgerWW Link to comment
Carlos-Sz Posted April 23, 2013 Author Share Posted April 23, 2013 Thank you for this update Carlos! I have one tiny little annoyance I can't put my finger on. If I do NOT select an item first, I get the follwing in the results title line: "Seletc items in Finder first" : notice the spelling? I looked over the scripts and it appears to be spelled correctly in them, sooo, any idea where this is coming from?' Sorry, I found it, it's in "zip_filter.scpt" line 8 Thank you! Fixed. Link to comment
oulipo Posted May 15, 2013 Share Posted May 15, 2013 This is an awesome workflow! One question though, it seems that I can only choose a directory that is immediately in my home dir, would it be difficult to extend it so I can choose eg. Dropbox/Public ? (right now if I type this, it tells "Search google for dropbox/public" ) Link to comment
Carlos-Sz Posted May 15, 2013 Author Share Posted May 15, 2013 This is an awesome workflow! One question though, it seems that I can only choose a directory that is immediately in my home dir, would it be difficult to extend it so I can choose eg. Dropbox/Public ? (right now if I type this, it tells "Search google for dropbox/public" ) I’m not sure why the Alfred File Filter, which I don’t have much control over it, is sending you to Search Google but you can type another keyword such as Public. Link to comment
Carlos-Sz Posted May 15, 2013 Author Share Posted May 15, 2013 It's Alfred File Filter that is doing that. I think it searches only folder names, not full paths. Try Public and the Dropbox/Public folder should be listed. Here is what happens: and then Link to comment
hystery Posted June 1, 2013 Share Posted June 1, 2013 Tried all the zip workflows available and this is the best one I think. What's good is it removes .DS_Store when zipping... Now, is it tough to modify codes to add option to zip multiple files/folders not into single archive? I'd like option something like: A.folder B.folder > A.zip B.zip Link to comment
Carlos-Sz Posted June 1, 2013 Author Share Posted June 1, 2013 (edited) Tried all the zip workflows available and this is the best one I think. What's good is it removes .DS_Store when zipping... Now, is it tough to modify codes to add option to zip multiple files/folders not into single archive? I'd like option something like: A.folder B.folder > A.zip B.zip So it is basically a zip for each selected folder. I’ll think about it and see how I can fit this feature in the current code. Thank you for your feedback! Edited June 1, 2013 by Carlos-Sz Link to comment
Carlos-Sz Posted June 9, 2013 Author Share Posted June 9, 2013 Nice workflow, thanks! :-) Great! Link to comment
Wildcard Posted June 24, 2013 Share Posted June 24, 2013 (edited) Tried all the zip workflows available and this is the best one I think. What's good is it removes .DS_Store when zipping... Now, is it tough to modify codes to add option to zip multiple files/folders not into single archive? I'd like option something like: A.folder B.folder > A.zip B.zip For that, I'd just download Keka here: http://www.kekaosx.com/en/ If you select multiple files and go to file actions, open with, and choose "Keka," it will zip them individually by default. (Or just select a bunch of files and drag them onto Keka in the dock. It will zip them without even opening up. Nice little app.) Actually, what I like BEST about this workflow is that you can zip multiple files into one. There's just one problem for me: I just want to use the file actions method, no hotkeys or keywords. Is there a way to change the workflow so I can still choose a name for the resulting zip file? (Right now it seems the only way to choose the output name is by using a keyword, instead of using the file actions method of activating.) This could be done with a callback to a keyword "%zipname: " something like Vítor did here: http://www.alfredforum.com/topic/2722-renameaction-—-renames-a-directory-or-file-preserving-the-extension/?p=15825 Edit: One more thing—can you set it to automatically reveal the output zip file in Finder on completion? I think that's just a matter of adding an extra applescript output to "tell finder to show {query}" but I'm not sure how to implement precisely. Edited June 24, 2013 by Wildcard Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now