SRCH2 Daily
文章平均质量分 69
lc890213
这个作者很懒,什么都没留下…
展开
-
Flatten a nested directory in Linux
You can do this with GNU find and GNU mv: find /dir1 -mindepth 2 -type f -exec mv -t /dir1 -i '{}' + Basically, the way that works if that find goes through the entire directory tree and for each f原创 2014-05-25 07:13:14 · 417 阅读 · 0 评论 -
MongoDB connection
For mongo db adapter, you should enable the replication in MongoDB. 1. Start MongoDB server with replication enabled. ./mongod --dbpath= --replset "rs0" keep this MongoDb server runnin原创 2014-05-28 07:45:03 · 469 阅读 · 0 评论 -
MongoDB oplog
http://francs3.blog.163.com/blog/static/4057672720121133328120/原创 2014-05-28 07:46:13 · 419 阅读 · 0 评论