11
General Software Discussion / Re: Recreate files but without content to target drive
« on: June 11, 2009, 11:33 AM »same test for the script. it failed, doesn't support unicode. :(Oopsy. Let me fix that!J:\Share\Programs\@Network\eToolz\Language\English.lng
Traceback (most recent call last):
File "makeTreeZip.py", line 43, in <module>
mtime=time.localtime(os.stat(f).st_mtime)
WindowsError: [Error 123] The filename, directory name, or volume label syntax i
s incorrect: 'J:\\Share\\Programs\\@Network\\eToolz\\Language\\Fran?ais.bmp'-vixay (June 10, 2009, 11:06 PM)
.... There! http://codepad.org/ftWwtTGy
That version should handle
(a) zipping empty directories
(b) unicode filenames (as long as it can decode the command line...)
Picture proof here!