Yuan Yijun (bbbush) wrote,
Yuan Yijun
bbbush

BlueHost

BlueHost 有最多五万文件的限制,在 cpanel 里可以看到文件数列表,不过还是自己数一次为好。用 git gc 压缩了半天,发现 mediawiki 和 wordpress 都只占用 1k 文件数量。超过 5w 限制大约只是无法备份吧?


fedorazh@fedora-zh.net [~]# ~/opt/bin/find-all-file-count |tail -n 15
299 ./public_html/org.fedora-zh.irc
422 ./public_html/org.fedora-zh.planet
751 ./tmp/mysql_slow_queries
760 ./tmp/webalizer
988 ./opt
1127 ./public_html/com.today-future.weblog
1736 ./tmp
2059 ./public_html/org.fedora-zh.news
2632 ./public_html/org.szlug.wiki
2746 ./.cpan/build
2856 ./.cpan
6801 ./rpmbuild/BUILD
6844 ./rpmbuild
7646 ./public_html
20615 .

fedorazh@fedora-zh.net [~]# cat opt/bin/find-all-file-count
for i in `find . -maxdepth 2 -type d`; do echo `find $i |wc -l` $i ; done |sort -n
Tags: fedora
Subscribe

  • Calendars

    Created a bunch of calendars in Google Calendar, to celebrate JY's last day of preschool, prepare for the coming weeks. Google builtin…

  • zz: 墙、感染、信任和欺骗 by 霍炬 (歪理邪说 2015-09-21)

    (全文转载自 墙、感染、信任和欺骗 2015-09-21 霍炬 歪理邪说) 先跟读者道个歉,最近一段时间有点忙,好久没更新。 而写文章这事,一旦有一段时间不写就会越来越写不下去。 很长一段时间我甚至不敢打开公众帐号后台,一怕被催稿, 二怕看到惨烈的退订数字以至于更不敢写……

  • 猪头了吧 T. Rowe Price

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments