Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TheMTtakeover

macrumors 6502
Original poster
Aug 3, 2011
470
7
I've done many many google searches and have come back with nothing. What I am looking for is either a command in the terminal or a way in applescript to create a new folder with today's date.

I am going to use this as a skydrive backup technique. So if it was
Code:
cp -av /Users/osx/SkyDrive /Users/osx/Desktop/New
I would want the new folder that is created with the cp command to be based on today's date.

Any help is greatly appreciated!
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
I am on my phone, but I'd go with cron in a form:
0 0 * * * *
To run at 00:00 daily. The command would involve mkdir and date. Someone else can surely cobble this for you, but a few minutes in manages should get you from here to there.

-Lee
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.