OK, long story short, anyone who knows of Crossover Games/Office knows that if you have a large number of bottles, it can take a while to back them up using their GUI tools. They have some CLI tools too, which I was hoping to already be utilizing
Basically the following "should" be going thru the dir, and tarring up each directory along with some extra metadata.
for bottle in ~/.cxgames/*
/opt/cxgames/bin/cxbottle --bottle "$bottle" --tar ~/cxgbackup/$bottle.cxarchive
Where my problem lies is simple, although the solution is completely eluding me. Basically, any bottle directory that has a space in it, the script will fail on that directory.
What shall I do here? I am lost on this one. In short I just want a nice way to archive them periodically for safekeeping, plus its a nice way to backup prior to an OS upgrade.
Thanks for any help.