dirdiff does not handle filesnames/directories with spaces properly

Bug #425151 reported by Duncan Clough
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dirdiff (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: dirdiff

Ubuntu Versions: Hardy, Intrepid, Jaunty (current).
Dirdiff Package Version: 2.1-4

When matching two directory trees that are identical when one tree is on a local hard drive (ntfs) and the other is on a flash disk (fat32), dirdiff registers filenames with spaces as having changed when the two files are in fact identical. These differences only register after the flash drive has been newly mounted. Once the trees have been merged, the differences aren't registered if dirdiff is run again before removing the flash.

Example:

file: 2008/GROUPS (from robyn).xls

Even though this file is identical (and hasn't been changed), a it will be registered as newer on the hard drive, and older on the flash disk. If I change the filename to "2008/GROUPS_(from_robyn).xls" (i.e. without spaces), then the file will correctly not register as having changed, and correctly not appear in the list of different files.

Aside: this is a great tool - I use it every day. This has just been a minor annoyance I've had for the past year.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: ath_hal nvidia
Package: dirdiff 2.1-4
ProcEnviron:
 LANG=en_ZA.UTF-8
 SHELL=/bin/bash
SourcePackage: dirdiff
Uname: Linux 2.6.28-14-generic x86_64

Revision history for this message
Duncan Clough (duncan-clough) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.