Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Don't forget to submit your entry for the Excellence Awards by October 30! | Need more information about the program? Check out the blog here

Extracting files from zip files (or tar and tar.gz)

Highlighted
Alteryx Partner

Extracting files from zipped archives is supported in Alteryx but it's not particularly flexible. This SDK tool allows you to extract all the files from zip files, tar archives and tar.gz archives (Linux support, woohoo) into a given folder and optionally overwrite.

 

An example of using the tool is shown here.

 

Zip_example_workflow

 

Grab the yxi installer from my Github site: https://github.com/bobpeers/Alteryx_SDK_Zip

Highlighted
9 - Comet

Hi @bobpeers,

 

Thanks for sharing your tool!

 

In case you would like some feedback for a future version, I believe that following features could be useful:

 

- Give the option to create the output folder if it doesn't exist

- Pass output folder as a field, like the source file

- Add a message to mention that file format is not supported 

- Add YXI and YXZP as supported formats (zip)

 

Thanks again,

 

PaulN

 

Highlighted
Alteryx Partner

Thanks for the suggestions @PaulNo !

 

The full path of extracted files is output so the output folder is also there if you parse the field.

 

Also curious as to why you want to unzip yxi files since these are Alteryx specific and are not data files by default (it would be easy though since they are just zip files with a different name)

 

I'll definitely consider adding these

Highlighted
9 - Comet

Hey @bobpeers,

 

Being able to build a workflow to analyse YXI files automatically (along with the structure of the YXI itself) could be useful sometimes!

 

Thanks for considering my suggestions!

 

PaulN

Labels