Opened 12 years ago

Last modified 12 years ago

#17 assigned task

List files using wildcards

Reported by: chris Owned by: chris
Priority: normal Milestone: 0.12
Component: bbackupquery Version: 0.10
Keywords: windows list files matching wildcard Cc: Paul MacKenzie <[email protected]…>


Paul MacKenzie? <[email protected]…> reports:

For individual files within a full directory, I find it difficult (and some times impossible) to find the object id in a folder where there are 1000s of files to get the right one / older version. Any suggestions on how I can do a list like:

  • list file*

And it shows all the files starting with the word "file".

Change History (2)

comment:1 in reply to:  description Changed 12 years ago by Pete Jalajas

For what it's worth, in the interim, I use things like the following.

If cygwin is not installed, then in a Windows cmd window:

  bbackupquery "list -odstr" quit | findstr /r "\.doc$"
  bbackupquery "list -odstr" quit | find ".doc"

Or if I'm lucky and cygwin is installed, in a cygwin window:

  bbackupquery "list -odstr" quit | grep "\.doc$"

I always have to flail around to escape or quote spaces in path names, but I eventually get it to work, and then promptly forget to document what I did.

comment:2 Changed 12 years ago by chris

Milestone: 0.110.12
Status: newassigned

Yes, but not for 0.11, sorry.

Note: See TracTickets for help on using tickets.