@pinga123: you have to keep the variable name separated from the underscore. Use the complete syntax for
parameter substitution with brackets:
Code:
Directory_Name=${FolderName}_$(date +%Y%m%d)
otherwise the shell look for a variable called "FolderName_".
@anishakaul: You're welcome!