10-22-2010, 04:50 AM #1Write date and time to .txt in terminal
HI, i just want to write the dat and time to a .txt file
i tried "echo %date% %time% >> log.txt" (without quotation marks)
but it just writes "%date% %time%"
Can anyone help me?Hacking - Doing what the developers couldn't.
10-22-2010, 10:15 AM #2
- Member Since
- Feb 14, 2004
- Groves, Texas
- 13in macbook - 10.11 --- 21in. iMac 10.11 --- HP win 8
date > log.txt
10-22-2010, 06:55 PM #3
Yay that worked thanks =]Hacking - Doing what the developers couldn't.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By immaBALLonU in forum OS X - Operating SystemReplies: 4Last Post: 11-11-2014, 05:30 AM
By annastasiabeal in forum OS X - Operating SystemReplies: 1Last Post: 07-17-2012, 03:27 PM
By jfordtmc in forum OS X - Operating SystemReplies: 0Last Post: 09-28-2010, 10:48 AM
By mercator in forum Images, Graphic Design, and Digital PhotographyReplies: 0Last Post: 02-21-2009, 04:01 AM
By surveyance in forum OS X - Operating SystemReplies: 0Last Post: 08-21-2008, 08:44 PM