[Box Backup-commit] Re: #17: List files using wildcards
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Mon Mar 19 14:23:43 GMT 2007
#17: List files using wildcards
---------------------------+------------------------------------------------
Reporter: chris | Owner: chris
Type: task | Status: new
Priority: normal | Milestone: 0.11
Component: bbackupquery | Version: 0.10
Resolution: | Keywords: windows list files matching wildcard
---------------------------+------------------------------------------------
Comment (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.
--
Ticket URL: <http://bbdev.fluffy.co.uk/trac/ticket/17#comment:1>
Box Backup <http://www.fluffy.co.uk/boxbackup/>
An open source, completely automatic on-line backup system for UNIX.
More information about the Boxbackup-commit
mailing list