Ticket #39 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Square brackets in file names should be escaped

Reported by: Andy Assigned to: Andy
Priority: highest Milestone: Stable
Component: backend Version: 1.0
Severity: blocker Keywords:
Cc:

Description

The rdiff-backup globbing file list format treats [] as a special case and does not match files with them in the file name e.g. trying to exclude a file named document_foo[bar].txt would fail.

Change History

06/01/07 14:55:42 changed by Andy

  • status changed from new to assigned.

12/01/07 12:01:27 changed by Andy

23/01/07 17:06:29 changed by

  • milestone deleted.

Milestone Basic Functionality deleted

23/01/07 17:13:27 changed by Andy

Turns out there's no way to escape [] in filenames. Sigh. Three options:

1) Scrap rdiff-backup and use something else
2) Patch rdiff-backup
3) Use --include-filelist instead of --include-globbing-filelist (means a bit more processing and bigger filelist files)

Might have a go at (3) first.

23/01/07 17:13:39 changed by Andy

  • milestone set to Stable.

30/01/07 09:02:04 changed by Andy

  • status changed from assigned to closed.
  • resolution set to fixed.

Ended up doing option 2. Patches have gone into rdiff-backup 1.1.9

http://lists.gnu.org/archive/html/rdiff-backup-users/2007-01/msg00099.html