Hi Holger,

thank you very much for your reply.

Holger Parplies wrote:
> Hi,
> 
> Dirk wrote on 18.02.2007 at 09:33:51 [[BackupPC-users] Get a file list via 
> command line?]:
>> how can I get a list of backed up files via the command line?
...
> indeed. If you're happy with an unfilled view (i.e. you only need to see the
> changed files in the backup (or all files in case of a full backup or filled
> incremental)), try something like
> 
> % cd /var/lib/backuppc/pc/hostname/backupnum
> % find . -type f -name f\* -print | perl -I /usr/share/backuppc/lib \
>   -MBackupPC::Lib -pe 'BEGIN { $bpc = new BackupPC::Lib; }
>                        $_ = $bpc -> fileNameUnmangle ($_);'
> 
> (change the two paths to match your setup).

This actually works for my current purpose (I would like to send daily
eMails containing the changes in a filesystem - so one notices unwanted,
accidental changes.) Thank you.

> This also does not show file attributes (but you didn't say you wanted
> them). For a filled view including attributes it's probably a bit more
> complicated. If you need that and can wait a few days, I'd be willing to
> hack something together.

That would be great!
I think it is always useful to have some kind of

        lsbackuppc -h HOST -n DUMPNUM -s SHARE PATH...


Dirk


> 
> Regards,
> Holger

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to