Ticket #17 (assigned task)

Opened 2 years ago

Last modified 1 year ago

List files using wildcards

Reported by: chris Assigned to: chris (accepted)
Priority: normal Milestone: 0.12
Component: bbackupquery Version: 0.10
Keywords: windows list files matching wildcard Cc: Paul MacKenzie <nospam@elehost.com>

Description

Paul MacKenzie? <nospam@elehost.com> 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

(in reply to: ↑ description ) 19/03/2007 14:23:43 changed by petej

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.

19/09/2007 21:49:55 changed by chris

  • status changed from new to assigned.
  • milestone changed from 0.11 to 0.12.

Yes, but not for 0.11, sorry.