Tyler Eich Posted February 18, 2013 Share Posted February 18, 2013 I wanted an easy way to compress files from Alfred, so I wrote a quick workflow to do it. It can compress a single file or folder to .ZIP, .TAR.GZ, .TAR.BZ2, and .DMG archive formats. Support for multiple files/folders may be added later, if I can figure it out Any and all feedback is welcome. Enjoy Download Here twinpeaks, thec13 and Ginfuru 3 Link to comment
Davide Posted April 5, 2013 Share Posted April 5, 2013 Great Workflow! But I don't like to have 5 Archive actions in Alfred action menu. Possible to show the different format archive actions in a second Alfred submenu? Link to comment
Tyler Eich Posted April 5, 2013 Author Share Posted April 5, 2013 Great Workflow! But I don't like to have 5 Archive actions in Alfred action menu. Possible to show the different format archive actions in a second Alfred submenu? I can't get Alfred to show submenus, but you can delete some of the formats you don't use There are 4 formats on the far left; delete the ones you don't need, and you'll have fewer results. If you want them back again later, you can always reinstall the workflow later Link to comment
Davide Posted April 7, 2013 Share Posted April 7, 2013 I can't get Alfred to show submenus, but you can delete some of the formats you don't use There are 4 formats on the far left; delete the ones you don't need, and you'll have fewer results. If you want them back again later, you can always reinstall the workflow later I asked David Ferguson. Here his answer Link to comment
adrianfurlan Posted August 22, 2013 Share Posted August 22, 2013 (edited) Hello, How could I alter the dmg.php script so that it creates an encrypted disk image? Can it be done while using a previously configured password? (No annoying prompts) The modified workflow could save me from the hassle of creating multiple encrypted .dmg's via Disk Utility. Edited August 22, 2013 by adrianfurlan Tyler Eich 1 Link to comment
Tyler Eich Posted August 22, 2013 Author Share Posted August 22, 2013 Hello, How could I alter the dmg.php script so that it creates an encrypted disk image? Can it be done while using a previously configured password? (No annoying prompts) The modified workflow could save me from the hassle of creating multiple encrypted .dmg's via Disk Utility. It's definitely possible. It would probably require a password prompt on the first go with an option to save that password for future use; then it could use the OS X keychain to store the password securely... I like this idea . I may rework a lot of my code anyway; it's some of the first PHP I ever wrote, and it's pretty messy Cheers twinpeaks 1 Link to comment
politicus Posted March 24, 2014 Share Posted March 24, 2014 Hey Tyler, Your workflow has become one of my most used workflow. This morning I tried to compress a .vob file to Zip -> fail Also tried to compress my .vob file to dmg -> success Also tried to compress my .vob file to tar.BZ2 -> fail Also tried to compress my .vob file to tar.gz -> fail I tried to compress to .zip a smaller .csv file and worked. I tried to compress a folder to .zip. Nothing seems to be happening. Before all these tests I installed the latest version of the workflow. Could you help me? Thank you. Link to comment
Tyler Eich Posted March 24, 2014 Author Share Posted March 24, 2014 Hey Tyler, Your workflow has become one of my most used workflow. This morning I tried to compress a .vob file to Zip -> fail Also tried to compress my .vob file to dmg -> success Also tried to compress my .vob file to tar.BZ2 -> fail Also tried to compress my .vob file to tar.gz -> fail I tried to compress to .zip a smaller .csv file and worked. I tried to compress a folder to .zip. Nothing seems to be happening. Before all these tests I installed the latest version of the workflow. Could you help me? Thank you. Are you running Alfred v2.2 or higher? If so, could you open Alfred Preferences > Workflows > Archives and click the bug icon in the upper right? Run the workflow and see what (if any) errors are thrown Link to comment
politicus Posted May 1, 2014 Share Posted May 1, 2014 @Tyler just tested compressing files and folders in all the different compression formats. All is working pretty well. Awesome! Link to comment
Sridhar Katakam Posted January 26, 2023 Share Posted January 26, 2023 The download link is not working anymore. 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