ksunliang 最近的时间轴更新
ksunliang

ksunliang

http://www.sunliang.cn
V2EX 第 75732 号会员,加入于 2014-10-01 23:18:33 +08:00
ksunliang 最近回复了
2014-11-02 05:23:21 +08:00
回复了 jieqiuming 创建的主题 PHP 求推荐安全性高,不复杂,易扩展的 cms(内容管理系统)
给你推荐个吧。貌似很少有人知道的,这个也并不出名。

http://phpmywind.com

即方便又靠谱。
2014-10-02 10:22:52 +08:00
回复了 andybest 创建的主题 问与答 Linux Shell 脚本求助
@ksunliang 理解错了,这样保留的仅仅是今天的,而并不是 24 小时前的。
2014-10-02 10:14:45 +08:00
回复了 andybest 创建的主题 问与答 Linux Shell 脚本求助
v$ ls

20140928161800_0_0_1000005.mp4 20140930162011_0_0_1000005.mp4
20140928162003_0_0_1000005.mp4 20140930162019_0_0_1000005.mp4
20140928162006_0_0_1000005.mp4 20141001161800_0_0_1000005.mp4
20140928162011_0_0_1000005.mp4 20141001162003_0_0_1000005.mp4
20140928162019_0_0_1000005.mp4 20141001162006_0_0_1000005.mp4
20140929161800_0_0_1000005.mp4 20141001162011_0_0_1000005.mp4
20140929162003_0_0_1000005.mp4 20141001162019_0_0_1000005.mp4
20140929162006_0_0_1000005.mp4 20141002161800_0_0_1000005.mp4
20140929162011_0_0_1000005.mp4 20141002162003_0_0_1000005.mp4
20140929162019_0_0_1000005.mp4 20141002162006_0_0_1000005.mp4
20140930161800_0_0_1000005.mp4 20141002162011_0_0_1000005.mp4
20140930162003_0_0_1000005.mp4 20141002162019_0_0_1000005.mp4
20140930162006_0_0_1000005.mp4

v$ rm -f $(ls *.mp4| grep -v "$(date +%Y%m%d)")

20140928161800_0_0_1000005.mp4
20140928162003_0_0_1000005.mp4
20140928162006_0_0_1000005.mp4
20140928162011_0_0_1000005.mp4
20140928162019_0_0_1000005.mp4
20140929161800_0_0_1000005.mp4
20140929162003_0_0_1000005.mp4
20140929162006_0_0_1000005.mp4
20140929162011_0_0_1000005.mp4
20140929162019_0_0_1000005.mp4
20140930161800_0_0_1000005.mp4
20140930162003_0_0_1000005.mp4
20140930162006_0_0_1000005.mp4
20140930162011_0_0_1000005.mp4
20140930162019_0_0_1000005.mp4
20141001161800_0_0_1000005.mp4
20141001162003_0_0_1000005.mp4
20141001162006_0_0_1000005.mp4
20141001162011_0_0_1000005.mp4
20141001162019_0_0_1000005.mp4

v$ ls

20141002161800_0_0_1000005.mp4 20141002162011_0_0_1000005.mp4
20141002162003_0_0_1000005.mp4 20141002162019_0_0_1000005.mp4
20141002162006_0_0_1000005.mp4
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1476 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 17:10 · PVG 01:10 · LAX 09:10 · JFK 12:10
Developed with CodeLauncher
♥ Do have faith in what you're doing.