On Wed, Jul 14, 2010 at 12:46 PM, Dustin J. Mitchell <[email protected]> wrote:
> On Wed, Jul 14, 2010 at 11:08 AM, Chris Nighswonger
> <[email protected]> wrote:
>> Since no one has spoken up, I'm calling it a bug. The wildcard is
>> clearly supported in a filename in exclude lists with ZWC. It follows,
>> therefore, that it should be supported in pathing as well. So is there
>> a bug tracking system for ZWC? If not, what is the procedure for
>> filing a bug against it?
>
> I had a look at the source code, and it looks like this is *intended*
> to work, although the code is pretty gnarly so it's hard to tell for
> sure. I tried extracting it to a test function and translating the
> various Windowsisms (DWORD, _tcs functions, etc.) but it didn't work
> out.
>
> "C:\\Documents\ and\ Settings\\*\\foo\\bar" would be unquoted to
> C:\Documents and Settings\*\foo\bar
>
> I wonder if that \* is being taken as an escape for the "*"? Does
> ...Settings\\C*\\fo... match against your user directory?
>
Here's the DLE I tested:
client.foo.bar.com "C:/Documents and Settings" {
zwc-compress
exclude "C:\\Documents\ and\ Settings\\a*\\Application\ Data"
}
Here's a few lists (sanitized of usernames) of the resulting index. As
you can see we still get both "Application Data" and all subdirs below
that level. But what I may be looking for should be something along
this line: exclude "C:\\Documents\ and\
Settings\\%USERNAME%\\Application\ Data" and allow VSS to do the env
var interpolation on the fly.
amrecover> setdisk "C:/Documents and Settings"
200 Disk set to "C:/Documents and Settings".
amrecover> ls
2010-07-14-12-48-05 s****/
2010-07-14-12-48-05 p****/
2010-07-14-12-48-05 p****/
2010-07-14-12-48-05 m****/
2010-07-14-12-48-05 m****/
2010-07-14-12-48-05 l****/
2010-07-14-12-48-05 l****/
2010-07-14-12-48-05 l****/
2010-07-14-12-48-05 k****/
2010-07-14-12-48-05 j****/
2010-07-14-12-48-05 j****/
2010-07-14-12-48-05 f****/
2010-07-14-12-48-05 e****/
2010-07-14-12-48-05 e****/
2010-07-14-12-48-05 e****/
2010-07-14-12-48-05 d****/
2010-07-14-12-48-05 d****/
2010-07-14-12-48-05 b****/
2010-07-14-12-48-05 a****/
2010-07-14-12-48-05 a****/
2010-07-14-12-48-05 a****/
2010-07-14-12-48-05 a****/
2010-07-14-12-48-05 a****/
2010-07-14-12-48-05 N****/
2010-07-14-12-48-05 L****/
2010-07-14-12-48-05 "Default User/"
2010-07-14-12-48-05 "All Users/"
2010-07-14-12-48-05 Administrator/
amrecover> cd a****/
/a****
amrecover> ls
2010-07-14-12-48-05 ntuser.pol
2010-07-14-12-48-05 ntuser.ini
2010-07-14-12-48-05 ntuser.dat.LOG
2010-07-14-12-48-05 ntuser.dat
2010-07-14-12-48-05 Templates/
2010-07-14-12-48-05 "Start Menu/"
2010-07-14-12-48-05 SendTo/
2010-07-14-12-48-05 Recent/
2010-07-14-12-48-05 PrivacIE/
2010-07-14-12-48-05 PrintHood/
2010-07-14-12-48-05 NetHood/
2010-07-14-12-48-05 "My Documents/"
2010-07-14-12-48-05 "Local Settings/"
2010-07-14-12-48-05 IETldCache/
2010-07-14-12-48-05 IECompatCache/
2010-07-14-12-48-05 Favorites/
2010-07-14-12-48-05 Desktop/
2010-07-14-12-48-05 Cookies/
2010-07-14-12-48-05 "Application Data/"
2010-07-14-12-48-05 .
amrecover> cd "Application Data/"
/a****/Application Data
amrecover> ls
2010-07-14-12-48-05 desktop.ini
2010-07-14-12-48-05 Sun/
2010-07-14-12-48-05 OpenOffice.org2/
2010-07-14-12-48-05 OpenOffice.org/
2010-07-14-12-48-05 Mozilla/
2010-07-14-12-48-05 Microsoft/
2010-07-14-12-48-05 Macromedia/
2010-07-14-12-48-05 Identities/
2010-07-14-12-48-05 Adobe/
2010-07-14-12-48-05 .
amrecover> cd Adobe/
/anbrock/Application Data/Adobe
amrecover> ls
2010-07-14-12-48-05 "Flash Player/"
2010-07-14-12-48-05 Acrobat/
2010-07-14-12-48-05 .
amrecover>