The storage of a full backup includes the full directory tree below each
share, although directory and share names are mangled - preceded by an "f"
and special characters (like "/") are URL encoded.

So, since you are looking for a directory, find is likely the most
efficient solution, starting as deep into the directory tree as possible.

If instead you were looking for file, then find won't work since files are
only stored as references in the attrib file in each directory.  So in that
case your approach of using BackupPC_ls is the best option (but slow as you
point out).

Craig


On Thu, Apr 16, 2020 at 7:14 AM G.W. Haywood via BackupPC-users <
backuppc-users@lists.sourceforge.net> wrote:

> Hi there,
>
> On Thu, 16 Apr 2020, Alwyn Kik wrote:
>
> > What is the best way to find a file or directory ...
>
> man find
>
> --
>
> 73,
> Ged.
>
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to