Using command to move file in Rancher

在rancher上为workload mound一个存储空间,

 最近经常报空间不够,但经费有限,空间不能扩展,怎么办呢?

由于文件重要,不能直接删除,我们可以把超过50天的文件移动到其他地方。

find ./salaryCard -mtime +50 -type f  -exec mv {} /app/test  \;

如果对Linux命令不熟悉,请参考它。

文件与目录 Linux 文件与目录管理 | 菜鸟教程

Find命令 Linux find 命令 | 菜鸟教程

猜你喜欢

转载自blog.csdn.net/wish366/article/details/121439482
今日推荐