JamesNicholls
Vendor
Quick question - I'm writing a script to create a directory structure for deployment in builds. The script starts by copying the existing structure. I want to date/time stamp the directory name so that a history is kept.
So I'm doing something like:
oldbuild=old_build_'date '+%d%m%y%H%M''
cp -r directories archive/$oldbuild
I can't get the data to appear in %oldbuild. Can ayone point out what I'm doing wrong?
So I'm doing something like:
oldbuild=old_build_'date '+%d%m%y%H%M''
cp -r directories archive/$oldbuild
I can't get the data to appear in %oldbuild. Can ayone point out what I'm doing wrong?