Jump to content


Photo

[Fixed] Files in aurora/backup


  • Please log in to reply
3 replies to this topic

#1 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 09 November 2009 - 03:17 PM

Aurora has some mod-related files in its backup directory. Is it possible to move the files somewhere else? Files in the backup folder break my install-cleaning procedure, which involves a rm -fr */backup...

Edited by the bigg, 09 November 2009 - 03:20 PM.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#2 Miloch

Miloch

    Barbarian

  • Modder
  • 6573 posts

Posted 10 November 2009 - 06:39 AM

Aurora has some mod-related files in its backup directory. Is it possible to move the files somewhere else? Files in the backup folder break my install-cleaning procedure, which involves a rm -fr */backup...

We'd have to change a lot of code. Is it possible to refine your cleaning procedure to remove only numbered subfolders in that folder? You might hose other mods than Aurora, because several put their folder icons or other miscellaneous files in that folder to prevent an empty folder that can get skipped with some extractors (though I suppose that isn't much of an issue for WeiDU anymore if it creates a non-existing backup). In Aurora's case, we also use it to store debugging files that provide more info than the DEBUG log. They are blank on creation but get written to if you install the related components.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#3 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 10 November 2009 - 07:49 AM

Bash would accept rm -fr */backup/[0-9]*... but that's still partially unsafe (I can't specify 'numbered folders' without studying the find options for three years), and you just need to s/backup/prod/g in your *.tp*, *.sh and *.bat files.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#4 Miloch

Miloch

    Barbarian

  • Modder
  • 6573 posts

Posted 10 November 2009 - 08:18 AM

Fine, I'll move them to a 'log' subfolder or something for the next version. What's one more subfolder when you've got 20+? Though I think I use backup for logging or other temporary operations in some of my other mods, and I can't guarantee I'll get around to updating them any time soon, since I just updated most of them.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle