Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

unix set current time in file name

echo "hello" > "$(date +"%Y_%m_%d_%I_%M_%p").txt"
 
PREVIOUS NEXT
Tagged: #unix #set #current #time #file
ADD COMMENT
Topic
Name
5+7 =