解压文件
for z in *.zip; do unzip $z; done
提取文件并移动
find ./ -type f -exec mv {} ./ \;
find 查找
./ 当前目录
-type f 文件
mv 移动
{} 所有找到的文件
./ 待移动到的目标位置
\ 结束
查看当前目录下所有文件夹的大小
du -h --max-depth=1
解压文件
for z in *.zip; do unzip $z; done
提取文件并移动
find ./ -type f -exec mv {} ./ \;
find 查找
./ 当前目录
-type f 文件
mv 移动
{} 所有找到的文件
./ 待移动到的目标位置
\ 结束
查看当前目录下所有文件夹的大小
du -h --max-depth=1