> Is there a better way? I'm old school: don't use spaces in filenames. Use CamelCase or underscores or something else. Now that you have them, you might remove them with tr (or sed, or whatever).