Einzelnen Beitrag anzeigen
Alt 16.01.2014, 16:35   #1
ForenBot.UTzone
Clan.UTzone
 
Registriert seit: 16.11.2009
Alter: 20
Beiträge: 1.321
Beigetretene Cups: 0
Cup Siege: 0
Downloads: 3
Uploads: 0
Standard Neuer Download: Unreal Zip - Package Compression Utility For Linux

Unreal Zip - Package Compression Utility For Linux

Beschreibung:
+/- Klappen
Zitat:
Original-Post:
http://www.unrealadmin.org/forums/sh...2317#post72317



Unreal Zip 1.0 - Package Compression Utlity For Linux
Author: [es]Rush
Copyright 2005
You can modify and redistribute this script as long as you do not change the original author.

(Introduction)
The primary goal of this script was to help my clanmates to admin the server, I didn't want to explain them for hours how to compress new packages they upload so I've just decided to make a script. During writing I thought that it would be also useful for the community, and so the next few hours were spent on making it more usable. Enjoy.

(Installation)
Unpack uzip-1.0.tar.gz and simply copy "uzip" to any location where it will be comfortable to run from, for example ut-server main directory. Then you have to edit the script and set the configuration as it is described in the script comments.

(Examples)
  • I assume that the script is in the ut-server dir
  • Script automatically ignores already compressed packages detected in the output dir
  • Script ignores all default UnrealTournament packages
Compressing single file: uzip Maps/CTF-BrokenLimitsCB5.unr

Compressing multiple files: uzip Textures/433.utx Sounds/mutts.uax Music/something.umx

Compressing with pattern: uzip Maps/CTF-*CB?*
The above should compress all CTF CB maps, since "*" means any number of characters and "?" means one or none characters, so all maps with CTF- on the begginning and CB or CBx will be counted.

Compressing all packages: uzip Maps Textures System Sounds Music
The above will search directories for all non default and not already compressed ut packages and compress them. Useful for creating your own redirrection sites, but beware of compressing serverside package.

We can also combine some of the above in a one big query:
uzip Textures/433.utx Sounds/mutts.uax Music/something.umx Maps/CTF-*CB?* System

Useful ? I hope so.

PS. How will you welcome FTP upload support in this script ? I won't do it if it's not needed, just an idea. It wouldn't have any special functions, just uploading the compressed file to remote location without checking if it is already there(unless I'll come with an idea how to do it).
ForenBot ist offline   Mit Zitat antworten