Instead of the command given by you, I tried this one which created stuff successfully.
sudo tar -cjf /tmp/shirish.tar.bz2 .aptitude/ .aptoncd/
Instead of the command given by you, I tried this one which created stuff successfully.
sudo tar -cjf /tmp/shirish. tar.bz2 .aptitude/ .aptoncd/