rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] find old deleted directory


From: Robert Nichols
Subject: Re: [rdiff-backup-users] find old deleted directory
Date: Sun, 17 Feb 2013 08:51:07 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12

On 02/16/2013 07:45 PM, Eric Beversluis wrote:
I tried:
"rdiff-backup --list-at-time
2012-12-31 /run/media/eric/b*/Fedora15-2Backup/var/www/html/jQuery"

but this gave me this reply:
Fatal Error: Bad
"directory /run/media/eric/b*/Fedora15-2Backup/var/www/html/jQuery.
It doesn't appear to be an rdiff-backup destination dir"

The problem is the "b*".  You can't use shell meta-characters in these
queries because rdiff-backup takes them literally and doesn't expand
them.  It "works" for an existing directory because your shell expands
the "b*" before passing it to rdiff-backup.  The shell won't expand a
meta-character unless the _entire_path_ matches something, so for a
directory that doesn't exist in the mirror, the shell passes the "*"
character literally, rdiff-backup takes it literally, and nothing
matches.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]