Jump to content
Tyler Eich

File/Folder Archiver

Recommended Posts

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  :P

 

Any and all feedback is welcome. Enjoy  :)

 

Download Here

Share this post


Link to post

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? 

Share this post


Link to post

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 :)

Share this post


Link to post

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

Share this post


Link to post

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 by adrianfurlan

Share this post


Link to post

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 :)

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...