Create zip files straight from TM1

Post Reply
Wim Gielis
MVP
Posts: 3113
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Create zip files straight from TM1

Post by Wim Gielis »

Hello all,

I just found out today that TM1 can create zipfiles, natively !
And it's even very simple with a oneliner. Run the attached process if you want to know how.

Happy TM1'ing !
Attachments
Create zip files.pro
(1.41 KiB) Downloaded 176 times
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
User avatar
Elessar
Community Contributor
Posts: 338
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Create zip files straight from TM1

Post by Elessar »

Thanks Wim! A very useful one! :--)
I have already rewritten all my backup processes using your idea. It is much more efficient than 7zip: faster and needs less memory.
Now rewriting log files archiver.
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 6th article - PAfE + VBA: Commit each cell without pressing “Commit” button.
User avatar
Alan Kirk
Site Admin
Posts: 6606
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Create zip files straight from TM1

Post by Alan Kirk »

Wim Gielis wrote: Fri Apr 01, 2022 6:54 am Hello all,

I just found out today that TM1 can create zipfiles, natively !
And it's even very simple with a oneliner. Run the attached process if you want to know how.

Happy TM1'ing !
Well, the compression algorithm would be far more efficient than Windows' native one, I'll give you that...
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
MarenC
Regular Participant
Posts: 349
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Re: Create zip files straight from TM1

Post by MarenC »

There should be a law against this sort of thing!
glaurens
Posts: 41
Joined: Thu Jan 08, 2009 3:42 pm

Re: Create zip files straight from TM1

Post by glaurens »

I'm an eternal optimist, so can't believe when people get me all excited like this :lol: :lol: :lol:
User avatar
PavoGa
MVP
Posts: 617
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.9.1
Excel Version: 2013 PAW
Location: Charleston, Tennessee

Re: Create zip files straight from TM1

Post by PavoGa »

Hey, it also eliminates overfeeding as a side benefit.
Ty
Cleveland, TN
Post Reply