V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ksunliang  ›  全部回复第 1 页 / 共 1 页
回复总数  4
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   ·   实用小工具   ·   5732 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 03:10 · PVG 11:10 · LAX 19:10 · JFK 22:10
Developed with CodeLauncher
♥ Do have faith in what you're doing.