I want to replace the spaces in output of the following command
with underscore ( _ ).
# echo `date +%c`
Tue 21 Feb 2012 09:53:27 PM IST
I am ultimately trying to achieve the following.
mv /home/vicky/maxima/logs /home/vicky/maxima/backup/logs.`date +%c`
That is the moved file should have a name with complete timestamp as follows.
Please share your ideas