Fluidshell: Use date function with the mkdir

by Nov 4, 2015

I’m wanting to create a new directory with the current system date as the name, but I’ve been unable to find a way to use the date function with mkdir and I’ve been unable to save the date to a variable to call either.

How would this be done in fluidshell?

Response

Niels Gron over 7 years ago
FluidShell works very similar to Bash. You can do this :

> set d=”MyDir-`date y-M-d_H-m-S`”
> echo $d
> mkdir $d

Using “ will interpret the function.