n8gray / Backup-Bouncer

A metadata test suite for OS X backup tools
http://n8gray.org/code/backup-bouncer
Other
183 stars 16 forks source link

Can't handle spaces in filenames #3

Closed tewe closed 12 years ago

tewe commented 12 years ago
iMac:backup-bouncer-0.2.0$ ./bbouncer compare /Volumes/Source/Last\ data\ volume.dmg /Volumes/Target/Last\ data\ volume.dmg 
Comparing:    basic-permissions ... FAIL (Critical)
Comparing:           timestamps ... FAIL (Critical)
Comparing:             symlinks ... stat: /Volumes/Source/Last: stat: No such file or directory
stat: data: stat: No such file or directory
ok (Critical)
Comparing:    symlink-ownership ... FAIL 
n8gray commented 12 years ago

This is a known issue. BB is written in Bash, which requires lots of effort if you want to ensure correct space handling. I'm afraid I wasn't quite that disciplined when I wrote it, so you'll just have to avoid putting spaces in your volume names.