Axaptapedia is now maintained by AgileCadence For more information please click here.

Export All Sources

From Axaptapedia
Revision as of 06:39, 21 November 2006 by MaxBelugin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

download (17K)

This is a small project to export all sources to the directory in file system for later search.

For example, you can use Google Desktop Search for fast search through sources

Here is an example of results:


Gds.png


I am using the following python script to rename xpos to .txt

 import os
 for root, dirs, files in os.walk(r'D:\0\sources'):
     for f in (f for f in files if f.endswith('.xpo')):
         print f
         os.rename(os.path.join(root, f), os.path.join(root, f+'.txt'))