How to make a folder with the the month and the day at Unix

is there a way to make do like mkdir monthdate and it make a folder with the the month and the day?

GhostMan, yes
How and create a simlink to do the same thing?
using date +%m

mkdir `date +%m`
check man date for other options
what about creating a simlink to the date
just as you would create a normal sym link and then use a subshell i.e. “ to run date

just as i showed you with mkdir
;-}
sweeet
as I said for a full listting of date options
man date

;-]
is there a way to tell what a simlink for a dir is?
So I can see why its not working
ls -al

inside the ir?
yes
see anything wrong with cp -a /folder /folder/blah/`date +%m%d`
cause that didnt work hmm
errrm

folder/ maybe ?
cp -a testdir/ ./testdir`date +%m%d`
testdir/ is current dir
also ./currentdir

/dir/dir/dir is full path
pwd to check

hmm I cant even get a simlink to work
without the date
GhostMan, works here

Web Hosting | Web Host

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Leave a Comment

You must be logged in to post a comment.


Blog Tags:

Similar posts: