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?
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.