Newbie problem with simple script to create a directory

script is:

dirname= "$(date +%b%d)_$(date +%H%M)"
mkdir $dirname

should create a directory named Nov4_

Instead I get the following returned:

root@dchs-pint-001:/=>./test1
./test1: Nov04_0736: not found.
Usage: mkdir [-p] [-m mode] Directory ...
root@dchs-pint-001:/=>

TOO easy, but what am I doing wrong?

Thx,

Remove the space; should work

$ dirname="$(date +%b%d)_$(date +%H%M)"

it's always the little things :frowning: