I have a folder with different files to unzip, including some with .bz2 format and others with .zip format. For files in .zip format I have no problem decompressing them with UiPath activities, but the .bz2 format is being impossible for me to unzip, any suggestions? I would like it to be through an activity, but I have not found any that decompresses this format.
If you have a separate third-party tool (for example https://www.7-zip.org/ ) that can decompress .bz2 files, you may create a UI automation workflow that can right-click on the respective file and access the right menu context by clicking on it and then choosing the Extract option.
If you need to extract all the files from the archive text.log.bz2 to a specific folder (for example to C:\Marian\DownloadPackages\ExtractedFiles), you may use the below command:
7z x "C:\Marian\DownloadPackages\text.log.bz2" -o"C:\Marian\DownloadPackages\ExtractedFiles"