Ticket #17 (assigned task)

Opened 5 years ago

Last modified 5 years ago

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 <nospam@…>

Description

Paul MacKenzie? <nospam@…> 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

comment:1 in reply to: ↑ description Changed 5 years ago 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.

comment:2 Changed 5 years ago by chris

  • Status changed from new to assigned
  • Milestone changed from 0.11 to 0.12

Yes, but not for 0.11, sorry.

Note: See TracTickets for help on using tickets.