Yuan Yijun (bbbush) wrote,
Yuan Yijun


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

  • BP 1st year

    Basic Program is a reading program from UChicago. The information can be found here [1] and currently it is open for signing up for the next year…

  • 2020

    Last time I wrote a review was in 2018, about 2017. Or maybe I wrote something elsewhere, maybe on Twitter? It was hard to write something freely…

  • Crime and Punishment

    As a step to improve the illiterate situation I joined the Basic Program this year. It had been in my mind for a couple years, but glad this time I…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded