[BackupPC-users] Changing backup browsing view from bytes to eg megabytes

2014-10-22 Thread Sorin Srbu
Hi all, When I browse a host's backups, there is a size-column showing the file size in bytes. Can this be changed somewhere to show megabytes, or even gigabytes instead? I've looked in /usr/share/BackupPC/lib/BackupPC/CGI/Browse.pm and found this bit, which looks promising:

Re: [BackupPC-users] Changing backup browsing view from bytes to eg megabytes

2014-10-22 Thread Alexander Moisseev
It doesn't matter where $a-{size} comes from if you can change it right here. root@backup:/usr/local/lib/BackupPC/CGI # diff -ruN Browse.pm.orig Browse.pm --- Browse.pm.orig 2014-10-22 15:12:01.0 +0400 +++ Browse.pm 2014-10-22 15:38:50.0 +0400 @@ -206,11 +206,25 @@

Re: [BackupPC-users] Changing backup browsing view from bytes to eg megabytes

2014-10-22 Thread Sorin Srbu
-Original Message- From: Alexander Moisseev [mailto:mois...@mezonplus.ru] Sent: den 22 oktober 2014 13:53 To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Changing backup browsing view from bytes to eg megabytes It doesn't matter where $a-{size} comes from