On 2015-07-24 06:54, Bob of Donelson Trophy wrote: > I am receiving this email: > > The following directories are bogus and are not being used by > BackupPC. This typically happens when PCs are removed from the > backup list. If you don't need any old backups from these PCs you > should remove these directories. If there are machines on this > list that should be backed up then there is a problem with the > hosts file: > - /var/lib/backuppc/pc/192.168.***.119 > > Regards, > PC Backup Genie > > This was a 'test' host and the host was removed, weeks ago. I assumed > that BackupPC (v3.3.0) would eventually remove the bogus directory. > Searching the 'net' results in some very old ways of removing this > directory. In the past I simply "rm -rf > /var/lib/backuppc/pc/192.168.***.119" but I have read that it does not > work properly. What is the correct manner to remove this bogus > directory?
Well, that filename is a bit of a treat. The shell will try to expand it and you may have unintended consequences unless you escape the stars ... cd /var/lib/backuppc/pc cd 192.168.\*\*\*.119 (or) cd "192.168.***.119" rm -f -r * cd .. rmdir 192.168.\*\*\*.119 (or) rmdir "192.168.***.119" ------------------------------------------------------------------------------ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
