Search Results

Search: Posts Made By: iaav
2,664
Posted By iaav
Make directory with todays date format
Not sure why this is not working. Please advice:


#!/bin/sh

DIR=`date +"%m-%d-%y"`
echo $DIR
[[ -d $DIR ]] && mkdir $DIR
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 08:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy