summaryrefslogtreecommitdiff
path: root/dyecmd/unfall.py
diff options
context:
space:
mode:
Diffstat (limited to 'dyecmd/unfall.py')
-rw-r--r--dyecmd/unfall.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/dyecmd/unfall.py b/dyecmd/unfall.py
new file mode 100644
index 0000000..91e5db5
--- /dev/null
+++ b/dyecmd/unfall.py
@@ -0,0 +1,13 @@
+# dyecmd ../../../client-data/graphics/items/equipment/*/*.png
+import os
+a=open('revert.sh', 'w')
+
+for f in os.listdir('.'):
+ try:
+ #for sub in os.listdir(folder):
+ if ('1' in f) and ('.png' in f):
+ a.write('mv '+f+' '+f[1:])
+ a.write('\n')
+ except:
+ continue
+a.close()