📜  php file_put_contents inode 问题 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:44.301000             🧑  作者: Mango

代码示例1
#if you have enough disk space(df -h) and inode space (df -i), the
#folder with lots of files, "cache" folder in this example, may be 
#messed up and will likely be fixed with:
mkdir cache_new   
chmod ugo+rwX cache_new 
mv cache cache_old  
mv cache_new cache  
rsync -av cache_old cache/