Don't know if it's faster than your way or not, but I've used:
find -type f -name "*thing_i_want"
note you can use wildcards...
a.
On Wed, Sep 28, 2011 at 10:52 AM, Gerald Brandt <gbr AT majentis DOT com> wrote:
>
> Hi Tim,
>
> That's basically what I did, but I have a couple of BackupPC users that have
> no clue about command line stuff, so I was hoping for a BackupPC web based
> solution.
>
> Gerald
>
>
> ________________________________
>
> From: "Timothy J Massey" <tmassey AT obscorp DOT com>
> To: "General list for user discussion, questions and support" <backuppc-users
> AT lists.sourceforge DOT net>
> Sent: Wednesday, September 28, 2011 9:30:18 AM
> Subject: Re: [BackupPC-users] Search for File
>
> Gerald Brandt <gbr AT majentis DOT com> wrote on 09/28/2011 10:15:12 AM:
>
> > I need to search for a specific file on a host, via backuppc. Is
> > there a way to search a host backup, so I don't have to manually go
> > through all directories via the web interface?
>
> The easiest, most direct way of doing that would be:
>
> cd /path/to/host/pc/directory
> find . | grep "f<filename>"
>
> I'm sure someone with more shell-fu will give you a much better command line
> (and I look forward to learning something!). I'm sure there's a way to do it
> simply with the find command alone, but I've had limited success trying to
> limit the find command to find specific files. For me, it's easier to use
> grep as above. My way will work, if a bit slowly: there's lots of files in
> there...
>
> Don't forget the leading f in the filename: BackupPC puts an f in front of
> every filename in the directory structure.
>
> Tim Massey
>
> Out of the Box Solutions, Inc.
> Creative IT Solutions Made Simple!
> http://www.OutOfTheBoxSolutions.com
> tmassey AT obscorp DOT com 22108 Harper Ave.
> St. Clair Shores, MI 48080
> Office: (800)750-4OBS (4627)
> Cell: (586)945-8796
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
--
"The universe is probably littered with the one-planet graves of
cultures which made the sensible economic decision that there's no
good reason to go into space--each discovered, studied, and remembered
by the ones who made the irrational decision." - Randall Munroe
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|