在 Windows、Linux 操作系统,分别利用BAT批处理文件和Shell脚本,生成类似“20110228_082905.txt”以“年月日_时分秒”命名的文件。

  Windows BAT批处理文件:
@echo off
set time_hh=%time:~0,2%
if /i %time_hh% LSS 10 (set time_hh=0%time:~1,1%)
set filename=%date:~,4%%date:~5,2%%date:~8,2%_%time_hh%%time:~3,2%%time:~6,2%
echo test >> %filename%.txt


  Linux Shell 脚本:
#!/bin/sh
echo test >> $(date -d "today" +"%Y%m%d_%H%M%S").txt






技术大类 » PHP/JS/Shell | 评论(323) | 引用(4) | 阅读(150566)
n40io23xt Email Homepage
2012-2-1 03:14
In comparison, 62 percent of Americans say that immigrants and natives have strong conflicts with others, compared with 47 percent in 2009, said the Pew Center. In the 2009 survey,chloe outlet, most Americans believed that immigrants dispute over wealth. The new study suggests racial conflict disappears, with only 38 percent of respondents said that there are serious conflicts between blacks and Wei? S,Chloe Handbags, w? While 34 percent said there is no hostility between young and old. Pew said the results do not necessarily mean that more Americans that the rich guilty of a class divide believe how many people are conflicts can k? Anger at the rich believe is wrong. The Pew survey found au addition,chloe bag, that 46 percent of Americans believe that the rich have their wealth of knowledge to the right people born in the family or the right, w say? While 43 percent came from the wealth hard work, ambition and education.
liu49724 Email Homepage
2012-2-1 12:54
大家新年好,第一天上班,换物,大家兜了利是没? http://www.51huanwu.com
我兜了12封利是,呵呵,好高兴!!!易物
feqv714u92 Email Homepage
2012-2-3 01:16
Au? Enministerin Hillary Rodham Clinton denied any U.S. role in the murder,Timberland Mens Roll Top Boots, and the Obama administration condemned the attack. However verst? Rkt Jerusalem provocative suggestions? GE perception of a campaign? A secret organization organized and roll back Iran's nuclear ambitions. "? A or critical" The day before the Israeli attack was Lieutenant General Benny Gantz Military rchef,Timberland womens Roll Top Boots, as the ore Select a parliamentary panel that in 2012 a re w are quoted on Iran -?. "The things that unnatural happen "in part because The explosion t? ended Roshan Mostafa Ahmadi, an expert in chemistry and director of the uranium enrichment plant at Natanz, the centerpiece of the expansion of Iran to produce nuclear fuel. Roshan,Timberland Mens 6 Inch Boots, 32-year was planned a memorial Wednesday afternoon for further nuclear scientist who was to get an explosion of the same determination for two years? Tet visit,Timberland Mens Boots, told the Iranian media
dfrzresrv05 Email Homepage
2012-2-3 10:23
Ford expects the new sedan have the best in class fuel economy in both gasoline and hybrid versions. How good is the "best in class" is? Very good: The hybrid version expected a whopping 47 miles per gallon to get into the city. That's enough to be comfortable with the hybrid Camry and hybrid version of the popular Hyundai Sonata Sedan -? And quite surprising for a family sedan in the Gr e or medium if you think about it.
fratlanhe886 Email Homepage
2012-2-6 11:25
写的太好了,重油批发!支持支持
fratlanhe854 Email Homepage
2012-2-7 10:27
写的太好了,环保颗粒!支持支持
uggtye087 Email Homepage
2012-2-9 12:05
Are you trapped with unanticipated monetary troubles? Do not possess adequate funds with you? Have you finished with your payday? Need cash the very same day of applying? In such circumstances, without thinking much you must consider the superb fiscal tool of payday same day. The short term financial service of payday same day instantly solves the pressure of financial instability in urgency times without any obstacle. This loan scheme helps you to take instant financial support for the short time period.
Thus, in this way the payday same day has become the most quickest and reliable source to rely on at the time of exigency. To get approved for this loan first you need to fulfill some eligibility criteria which are as follows:
Possess a valid saving account in a bank
Currently doing a regular job
Monthly income of at least 1000.
Attain the age of 18 years or above
The beneficial loan service of this loan helps you to grab funds varying from 100 to 1500 as per your needs and pay back ability. You will get a short repayment term of 14-31 days. As this loan is of short term by nature, thus carries marginally high interest rates. Therefore, you must repay the loan on time otherwise the penalty or late fee would make this loan even more expensive.
Apply for this loan through most reliable and popular online medium. Here, you can find plenty lenders with different loan quotes and by carefully comparing them you will be able to get this loan at competitive rates.
With the borrowed funds you can easily fulfill your numerous unexpected expenses like school and college fees, credit card dues, car repairing, sudden medical bill etc.
The favorable short term loan scheme of same day cash does not require any faxing, credit check and lengthy paperwork formalities. In this way the loan gets quickly sanctioned by the lender and you will funds directly in your account the same day of applying.
Money is the vital requirement for ones life. When your expenses tends to get higher than your monthly paycheck, payday same day is the quick fix solution for you. Unpaid unexpected expenses can result out as a bigger problem for you in future. To pay off your immediate needs without any delay, apply with this loan for instant and hassle free help. This can be termed as a great monetary support that brings instant fiscal relief to any of the borrower within no time.
Trusting upon payday same day at your hard times can be the sensible loan option. Online application method is easier and fastest way to get this loan help. Just fill out an application form with few required details and submit it on the lenders website. Loan amount will send to you in your checking account within hours. No faxing hassle and extensive paper work need to be faced. Moreover, to find the reasonable deal that comes with affordable rates and swift terms and conditions, explore the online web. Comparing various loan quotes from different lenders will surely end you up with swift loan deal.
You can avail the short loan amount with urgent loans that can be ranges from 100 to 1500 with the flexible repayment tenure of 14 to 31 days. The money can spend on myriad purposes without any lenders restrictions, such as:
-Paying off grocery bills
-Medical expenses
-Regular health check ups
-Traveling expense
-Small business needs
-Go for small trip
-Household expenses etc.
Your bad credit status might disapprove you as it increases the lenders risk. But with payday same day, all types of borrowers are welcome whether holding good credit scores of imperfect credit ratings. Presence of various bad factors like insolvency, foreclosures, CCJ, bankruptcy, arrears,nike shox dame, defaults and so on do not create any hassle.
Plus,burberry soldes, no collateral is required because payday same day is secured against your upcoming payday. When you are unable to meet your needs and you do not have any physical asset, this can be the ideal loan option for anyone.
Now,timberland pas cher, one can grab additional funds to pay off all the financial crunches without any discomfort within the matter of hours.
fratlanhe868 Email Homepage
2012-2-10 15:51
写的太好了,煤炭批发!支持支持
sx10338526 Email Homepage
2012-2-11 17:47
DETROIT -- A few thoughts after a physical and revealing Thanksgiving game at Ford Field:
What it means: As many thought, the Detroit Lions did indeed provide the Green Bay Packers a tough matchup and proved a legitimate threat to hand them their first loss of the season. But the Packers managed to keep their poise amid the Lions' shenanigans and pulled away in the second half. (James Bond beat Rambo,Aaron Rodgers jersey, in other words.) They're now 11-0 for the first time in team history and have won 17 consecutive games,chris long jersey, dating back to last year and including the playoffs.
SuhWatch: It's fair to wonder whether NFL commissioner Roger Goodell will suspend Lions defensive tackle Ndamukong Suh after his well-deserved third-quarter ejection. I've already made my thoughts known on the topic, but there is no defending the way Suh kicked Packers guard Evan Dietrich-Smith and pounded his head into the ground.
RodgersWatch: Packers quarterback Aaron Rodgers finished with a passer rating of 120.2. He has now had at least a 110 rating in all 11 games this season,dennis smith jersey, tying the NFL record set by Steve Young in 1994.
Injury report: These division rivals went after each other all game long, and the injury list got long enough that the Lions ended the game with receiver/special teams ace Rashied Davis reprising his role as a cornerback. For the Lions, running back Kevin Smith (leg),mark sanchez jersey, safety Louis Delmas (knee) and cornerback Chris Houston (knee) couldn't finish the game. For the Packers, linebacker Desmond Bishop (calf), guard Josh Sitton (knee) and linebacker AJ. Hawk (calf) all finished the game on the sideline. The Packers finished the game with Robert Francois and rookie D.J. Smith manning the inside linebacker positions.
What's next: Both teams will have a long weekend to recover from this game. The Packers will play Dec. 3 at the New York Giants. The Lions will play that night at the New Orleans Saints.
yea8359lnhz Email Homepage
2012-2-11 17:49
DETROIT -- Two important second-quarter notes from Ford Field:
,carnell williams jersey
Chicago Bears defensive end Julius Peppers has left the game with a knee injury. His return is officially listed as questionable,nate burleson jersey, but ESPN's Suzy Kolber reported the injury could be significant. Detroit Lions receiver Calvin Johnson's 73-yard touchdown pass made him the first player in NFL history to catch nine touchdown passes in the first five games of the season.
Now come back to NFL Countdown Live ...
UPDATE: Peppers is now back in the game after missing a few plays.
msero67007 Email Homepage
2012-2-11 17:52
Arizona Cardinals
Needs filled: NT, ILB, WR
Significant needs unfilled: third QB
Picks remaining: 123 (fourth), 195 (sixth), 233 (seventh)
Comment: Getting nose tackle Dan Williams, inside linebacker Daryl Washington and receiver Andre Roberts patched holes. A run on receivers in the third round put pressure on the Cardinals to select Roberts at No. 88. Roberts was the sixth of eight receivers drafted between the 77th and 90th picks. Moving up to get Washington made sense because the decision anticipated a run on the position, but the deal cost the Cardinals one of their third-round choices. That hurt some, but with few remaining needs, Arizona could be in good shape.
San Francisco 49ers
Needs filled: OL, S
Significant needs unfilled: CB
Picks remaining: 173 (sixth), 182 (sixth), 206 (sixth-compensatory), 224 (seventh)
Comment: Adding Anthony Davis, Mike Iupati and Taylor Mays made the 49ers bigger and more physical. Third-rounder Navorro Bowman was an interesting choice as a potential pass-rusher, even though he's smaller than the typical 3-4 linebacker. The 49ers have no picks in the fourth or fifth rounds, so they face a long wait until No. 173 and little ammo to do anything about it. Would they consider trading Manny Lawson? The outside linebacker isn't happy with his contract and the 49ers have added to the position. But teams have been trading picks, not players, in this draft so far and Lawson still has value to the 49ers on defense and special teams.
Seattle Seahawks
Needs filled: OT, S, WR
Significant needs unfilled: DE, RB, CB
Picks remaining: 104 (fourth), 127 (fourth),william perry jersey, 133 (fifth), 139 (fifth), 176 (sixth-compensatory), 245 (seventh)
Comment: The Seahawks were supposed to enjoy a strong start to the draft as the only team with two of the top 14 overall choices. They succeeded. Russell Okung, Earl Thomas and Golden Tate filled needs. The Seahawks could use a running back and none was chosen in the third round, when Seattle didn't have a choice. Could be time to find one. USC defensive end Everson Griffen remains available, but there are no indications Seattle has interest. There must be reasons Griffen has slipped so much further than expected and no NFL coach would know those reasons better than Pete Carroll.
St. Louis Rams
Needs filled: QB, OL, CB
Significant needs unfilled: OLB, DE, TE, WR
Picks remaining: 99 (fourth), 132 (fifth),jason pierre-paul jersey, 135 (fifth), 170 (sixth), 211 (seventh), 226 (seventh), 254 (seventh-compensatory)
Comment: Sam Bradford and Rodger Saffold should become starters relatively quickly,sam shields jersey, with third-round corner Jerome Murphy giving coach Steve Spagnuolo a talented project in the secondary. The team could use weapons for Bradford, but it's tough enough finding difference makers early in the draft, let alone beginning in the fourth round. Besides,gonzalez jersey, general manager Billy Devaney said he thinks the team's young receivers will grow into their roles and be fine. The question I have is whether some of them -- Donnie Avery in particular -- can stay healthy.
fratlanhe875 Email Homepage
2012-2-13 13:07
写的太好了,环保颗粒!支持支持
如花三千 Email Homepage
2012-2-14 18:11
%d2%b5%c4%da%c8%cb%ca%bf%b4%ab%d1%d4%ca%d7%bf%aa%b9%fa%b7%e7%c3%c0%cc%c6%c8%ab%b1%b1%be%a9%bd%f6%ca%a320%d3%e0%cc%d7%a1%b0%ca%b7%d3%f1%d6%f9%b8%c7%b7%bf%bc%c6%bb%ae%a1%b1%be%b9%ca%c7%b3%b4%c0%e4%b7%b9%a3%a1%a3%bf%b1%ac%bf%c6%b1%c8%bb%d8%b5%bd%b5%a5%c9%ed%bc%b8%ba%f5%be%bb%c9%ed%b3%f6%bb%a7%b4%ab%cc%ec%bd%f2%cd%f2%bf%c6%d7%dc%be%ad%c0%ed%d1%ee%cc%ce%c0%eb%d6%b0%bc%d3%c3%cb%bb%aa%c8%f3%b1%b1%b7%bd%c7%f8%b4%ab%cc%ec%bd%f2%cd%f2%bf%c6%d7%dc%be%ad%c0%ed%d1%ee%cc%ce%c0%eb%d6%b0%bc%d3%c3%cb%bb%aa%c8%f3%b1%b1%b7%bd%c7%f8%be%a9%bb%aa%ca%b1%b1%a8%d7%dc%be%ad%c0%ed%b1%bb%c3%e2%d6%b0%c6%d8%ca%d5300%cd%f2%b9%ab%b9%d8%b7%d1%be%dd%b4%ab%d7%a1%bd%a8%b2%bf%b2%bf%b3%a4%bd%aa%ce%b0%d0%c2%bd%f1%c4%ea%cf%c2%cc%a8%b9%f9%be%a7%be%a7%bb%f4%c6%f4%b8%d5%ca%c0%bd%e7%b6%a5%bc%b6%ba%c0%d5%ac%b4%f3%c6%d8%b9%e2%b9%f9%be%a7%be%a7%bb%f4%c6%f4%b8%d5%ca%c0%bd%e7%b6%a5%bc%b6%ba%c0%d5%ac%b4%f3%c6%d8%b9%e2%b9%f9%be%a7%be%a7%bb%f4%c6%f4%b8%d5%ca%c0%bd%e7%b6%a5%bc%b6%ba%c0%d5%ac%b4%f3%c6%d8%b9%e2
如花三千 Email Homepage
2012-2-14 19:38
阎老师自序:
余少习国学,喜堪舆、好命理、研六爻、探易道。未及弱冠,中师毕业,乡村讲台执鞭任教。后顺命发奋,学及硕士,蓉城高校忝列讲师。己丑孟秋,余辞别讲台,潜心法易。
纵历经曲折,亦探赜索隐;虽废寝忘食,仍乐此不疲。忙里偷闲演算八卦,苦中寻乐推敲五行。
而今,宗珞?、继郭杨、弘大易、谋小利。
虽学近廿载、阅易千种、从师数人、助人若干,然天外有天、玄中有玄,故勤学勤思、勤践勤验。
余知得道未必习术,仍孜孜以求,以小术悬壶。若能去伪存真、发扬国粹、福泽世人,则无愧先贤、自当欣慰。
偶有所思,疾笔成文,发于网络,任人评说。
诚谢诸君点击、留言!
另:本博文章皆属原创,所有转摘一一明示。如有掠美请多指正,若需转载敬请注明。文中错漏,无意有意,请自辨之!
博主手机:151 0837 1656                                 QQ:2679 2296 29    非诚勿扰!
gruk1x9w Email Homepage
2012-2-15 12:32
Director Kenny Leon, who has been known since the ninth grade Bassett said that almost came through the door and told the paper. "I love how you go far, far below the surface? Surface to create these amazing characters," he says. He calls a true theater animal receiving all K? Body is involved,Timberland, "the u? The Fü? E" "I think in five years people will be things about what he did,Timberland Boots, remember in 'The summit of the mountain? A", "order? Ade." I do not think people really realize how good it is. I think the time is its size? Show? To e in this role. "In the play, the audience can see K? Flirt king, curse, smoke Pall Center,Timberland Shoes, drink and drink even a pillow fight with Camae, N? Must bile (At one point, K? King jokingly asked the girls M?, whether he should shave off his mustache. "Well," she says, "we have the woman that I canceled? ').
jhmyu2019b97 Email Homepage
2012-2-22 08:04
遇到你之前,世界是一片荒原,遇到你之后,世界是一个乐园,过去的许多岁月,对我象一缕轻烟,未来的无限生涯,因你而幸福无边。情人节因你而有意义!
    老婆无味,情人太累,小姐太贵,不如开个同学会,拆散一对是一对!
    你梳着分头,抹的香油,整天闲游,见到女生就想卡油,一不留神成了盲流。
    谁说的一日不见如隔三秋,我感觉一日不见如隔千年,宝贝,我有几千年没有见到你了,好想你!
    在情人节的那天夜里,我想听到的话是我爱你,我希望你做的事是:抱着我,靠着我,说爱我。
    老婆要找难看的,放哪儿都是安全的,家务活全包干的,你泡妞也不管的。
    深夜没有你的时候,我把你想成枕头;白天没有你的时候,我把你想成日头;有一天真的没有你的时候,我只剩骷髅。这个情人节你可千万别让我变骷髅呀!
    永不褪色的是对你默默的关怀,永不停息的是对你无尽的思念,永不改变的是对你深深的爱恋。
    很想和你拥抱着看清晨的朝阳升起,很想和你拥抱着看黄昏的夕阳落去,很想在夜晚拥抱着你说:“我爱你!”
    春风里,百花下,小鸡小鸭过家家。小鸭手拿花,往鸡头上插。你是小鸡我是鸭,小鸭想你心如麻。
    我相信有月亮为证,我们的爱情一定会长久不变的。我不会离开你,就像月亮不会离开地球一样。
    有了太阳地球才回转,有了地球月亮才回转,有了月亮星光才如此灿烂,厦门办公家具,有了你我的世界才如此丰富浪漫。
    在最美的夜里想你,在最深的呼吸中念你,在最惬意的时候感受你,在最失意的时候知道,这个世界有你就已经足够。My lover情人节快乐!
    你长得真够美,老鼠眼睛,猪拱嘴,说起话来喷口水,就像厕所发大水。情人节快乐!
    不要问我爱你有多深,跑到烈日下晒晒,太阳代表我的情;不要问我爱你有多久,抬头望望寂寞的星空,月亮代表我的心!
    满天的繁星闪烁,爱在亘古的永恒里流传,你我诗意的传奇,是天边最美的那个星座!爱,竟然可以灿若群星!
    开心!快乐!是我的祝愿!舒心!柔美!是我的祝福!你的快乐!就是我的快乐!我对你的爱恒久不变。
    真想你:不分白天黑夜,越是黑夜越是想;不分四季更替,即使寒冬亦温暖;不分距离远近,即便就站在你身边。
arbgoas812 Email Homepage
2012-2-22 11:27
I am just me,Cheap Oakleys, weather or not I like it or anyone else does that is who I am. I am me.
I have decided to turn this journal into a domestic type journal. where i mostly post about things I have made. I love creating things,Abercrombie And Fitch Sale, so that is what I do, and this is where I shall share them.
where does the name lizzardtears come from?
I acquired the nickname Lizzard at the age of fourteen from a friend and it stuck. (and no my name is not Elizabeth,Oakley Sale!) the tears came from the absolute frustration of not being able to find a username that was not taken with lizzard in it, I tired tears and it worked,Oakley Sunglasses Sale, so I took it.
ifvwxea9154 Email Homepage
2012-2-22 11:52
4种瘦腿运动 搞定萝卜腿
                你的大腿是不是粗得就像跟柱子,短裤迷你裙全都与你无缘?想要富丽演变的女生留神了,今天小编告知你4种瘦腿运动,只有勤做,相对可以让腿瘦下来,彻底离别萝卜腿大象腿哦。     50下搓出小鸟腿     洗澡的时候,给腿上涂满沐浴露(为了减少摩擦),找个跟腰差未几高的处所(洗脸台、水管子)把一只脚架上去,双手开搓,略微用点力,按照从大腿根到膝盖的方向搓,再反向搓,想瘦小腿办法一样。开端搓50下,胳膊会很酸痛,保持住。当你能搓100下的时候,效果必定很显明,红酒木瓜靓汤有效果吗!       每天刮腿20分钟     买一只牛角的刮痧板,腿上抹好乳液,依照穴位从上向下刮,每个穴位刮20下,要疾速、使劲,直到刮出红道道,左腿完了换右腿。最好是每天晚上睡觉之前刮,刮完后不要接触冷水,直接睡觉。     薄底厚掌,踩踩就瘦     穿上硬底鞋,脚掌站在一块砖头上。我已经试了叁个礼拜,小腿肚的地位回升了,腿型比以前难看了,显得苗条,臀部也翘了一些。     你也可以本人拿松糕鞋让修鞋铺修成前高后低的负跟鞋,后跟1厘米高,前掌不超过4厘米。这种方法合适肌肉型腿的人。     狂蹬空中自行车     跟大家推举一个很有效的瘦腿部分活动,晚上睡觉之前在床上做几分钟就能够了。 躺着,把脚抬起,双脚做蹬自行车状,杂志上说做十多少下就行,红酒木瓜靓汤丰胸,http://www.yslady.com.cn我天天都做300下!做完当前把两腿离开大概80度的样子,一共分80下,这个方式对大腿根部的肉很有后果!
如花四千 Email Homepage
2012-2-23 09:33
朋友问蝙蝠怎么会下嫁给老鼠,蝙蝠眼含泪花,大道通天,意味深长:唉!那天他吃了伟哥,火力壮,一下蹦上天花板,让他得了手。
如花四千 Email Homepage
2012-2-23 13:18
.我花一毛钱发这条短信给你,血战长空,是为了告诉你――我并不是一个一毛不拔的人。比如这一毛钱的短信就是我送你的生日礼物。
分页: 5/17 第一页 上页 1 2 3 4 5 6 7 8 9 10 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]