Jump to content

IronPython compress scripting help


kroko

Recommended Posts

my friend is going to write a ironpython script that will compress all minecraft worlds and put them on a webserver so the user could download the world. he wants to install 7zip and use the scripting commands that offer. i rather use the inbuild features tcadmin2 have. so my question is. do tcadmin support compressing with ironpython and if so can you point me to a place that descripe how to code it?

Link to comment
Share on other sites

  • 1 month later...

I tried using this script and I got the message:

 

Backup Will Be Saved To: Backups\2016-05-09--03-32-06.zip

We Found 5 Files To Backup

Compressing Files and Creating Backup

global name 'String' is not defined

 

but when i go into the folder, there is no files.

 

Also is it possible to have it zip multiple folders within 1 backup and have it so filename is

foldername_date.zip

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use