rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Backing up from Linux to Windows?


From: Andrew Ferguson
Subject: Re: [rdiff-backup-users] Backing up from Linux to Windows?
Date: Sun, 18 Jan 2009 12:42:05 -0500


On Jan 18, 2009, at 12:36 PM, Andrew Ferguson wrote:
However,

>>> os.listdir("\\\\?\\c:\\Temp\\")
['dest', 'source', 'test', 'test-dest']
>>> os.listdir("\\\\?\\c:\\Temp")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: '\\\\?\\c:\\Temp/*.*'

so, \\?\C:\Temp\ works, but \\?\C:\Temp fails. WTF?


And a followup, almost as a note, if we change to unicode, then it works...

>>> os.listdir("\\\\?\\c:\\Temp")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: '\\\\?\\c:\\Temp/*.*'
>>> os.listdir(u"\\\\?\\c:\\Temp")
[u'dest', u'source', u'test', u'test-dest']


Gah.


Andrew




reply via email to

[Prev in Thread] Current Thread [Next in Thread]