.bashrc backup
Hi
I want to do a periodic backup of my .bashrc file in ML. Can anyone suggest any elegent way to do this? I tried using cp command to write .bashrc file content to a txt file. It worked fine. Then I put the same command in my .bashrc file so that when I login the backing up executed automatically. It does, however, I get to see the prompt which asks me whether I want to replace to orgininal file. How can I set yes for this action, so that I don't see prompt each time I start a Terminal session?
Thanks!
Tissot11
MacBook Pro with Retina display, OS X Mountain Lion, 2.6 GHz, 8 GB RAM