I want to create a new xmind file with the specified name,but it failed。
the code is here。
query=$1
cd ~/Library/Mobile\ Documents/iCloud~net~xmind~brownieapp/Documents
cp template.xmind $query.xmind
open -a Xmind ./$query.xmind
when i open debug。
it shows effor occured。