Jump to content


[Fixed] Files in aurora/backup


3 replies to this topic

#1 the bigg

    2083 is a prime number.

  • Modder
  • 3265 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

    Barbarian

  • Modder
  • 5453 posts

Posted 10 November 2009 - 06:39 AM

View Postthe bigg, on Nov 9 2009, 11:17 PM, said:

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.
Mod Contributions
Aurora * BG1 NPC * Gnomes * Haiass * Infinity Animations * Level 1 NPCs * Lost Items * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * In Progress: Adjusted Portraits * DSotSC (Tutu)
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * PSPad Highlighters * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"As the body itself is slow to grow and quick to decay, so also it is easier to damp men's spirits and their enthusiasm than to revive them..."
-Cornelius Tacitus, Agricola

#3 the bigg

    2083 is a prime number.

  • Modder
  • 3265 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

    Barbarian

  • Modder
  • 5453 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.
Mod Contributions
Aurora * BG1 NPC * Gnomes * Haiass * Infinity Animations * Level 1 NPCs * Lost Items * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * In Progress: Adjusted Portraits * DSotSC (Tutu)
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * PSPad Highlighters * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"As the body itself is slow to grow and quick to decay, so also it is easier to damp men's spirits and their enthusiasm than to revive them..."
-Cornelius Tacitus, Agricola




Reply to this topic