Hey folks,
I'm doing a backup from one of our RH servers to another. All I want it to do is create a .tar file with the name of said file as the date in an acceptable format (Aug 10, 2004 ; or something of the like). What commands in RH can I use to do this? I've tried passing the date command to a variable, however it just outputs the actual text (IE 'Date= %D' or a similiar output). Any suggestions on howto remedy this and allow me to create a file with the actual date as the name? Help / suggestions are appreciated.
Peace,
-T.
I'm doing a backup from one of our RH servers to another. All I want it to do is create a .tar file with the name of said file as the date in an acceptable format (Aug 10, 2004 ; or something of the like). What commands in RH can I use to do this? I've tried passing the date command to a variable, however it just outputs the actual text (IE 'Date= %D' or a similiar output). Any suggestions on howto remedy this and allow me to create a file with the actual date as the name? Help / suggestions are appreciated.
Peace,
-T.