Im trying to incorporate the date into a directory path I want to name a folder using the bash command "date +%y%m%d" and then call that path later on in the script as in: # This works great today = `date +%y%m%d` directory = "mkdir -p /Users/me/github/splat/`date +%y%m%d`" exec directory #This part doesnt work command = "git clone --mirror https://github.com/org/#{repo_name}.git /Users/me/github/splat/`date +%y%m%d`/#{repo_name}/" exec command As I understand it when the backticks are used it opens a sub shell, how can I get that directory name? -- Posted via http://www.ruby-forum.com/.