Spaces in file names are evil, but, alas, a fact of life. FlexBackup acts as the front-end for the traditional--and not so traditional--*nix archiving tools, letting you choose your favorite archiving tool from a pretty comprehensive list: afio, dump, tar, cpio (archive mode), star, pax, zip, lha, ar, shar, rsync, and cpio (copy mode). It's author has handled quoting and/or escaping for *most* of those, but it's missing in some places where a space-containing file name may appear is just not complete. There are issues with FlexBackup's use of the following archiving tools: ar, rsync, cpio (copy mode), and lha. I've got preliminary fixes for rsync and cpio (copy mode). The issues with ar seem more fundamental right now, but I'm still looking at it and lha. I'm attaching preliminary fixes so that others can test. Not ready for the tree yet. - John
Created attachment 124205 [details, diff] Patch fixes issues with rsync and cpio (copy) modes of FlexBackup.
Created attachment 124206 [details] New ebuild that applies the new patch (and all the old ones, too).
Created attachment 124557 [details, diff] Patch now fixes all backup modes. Fixed lha and ar, Had to fix a bug in lha to get it working, so a dependency on that bug was added to this bug. Documentation still needs to be updated, as well.
Comment on attachment 124557 [details, diff] Patch now fixes all backup modes. Should've been marked as a patch.
Created attachment 125301 [details, diff] New patch now updates man pages.
This is now in Portage as flexbackup-1.2.1-r6 thanks to genstef and the Gentoo Sunrise team. - John