UCC Commands Help

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

ffjason

FNG / Fresh Meat
Oct 23, 2009
204
0
0
OK so i've got a compression tool working and its good and all but i'm hoping to use it for large groups of files over and over again, but often they don't change.

Here is my current code:
Code:
@echo OFF
echo ***  About to compress your files, please wait  ***
.\system\ucc compress ..\maps\*.* 1>.\system\compression.log
echo a|move maps\*.uz2 maps\compressed\
echo *** Compression done, check the log for details ***
echo Press a key to quit...
pause >nul
.\system\compression.log

Is there a way to make it check the compressed folder for files before compressing them? To prevent it compressing files which are already done?