#!/bin/bash
for i in `ls 20180316/ `;do
# $i
file=`echo $i|awk -F '.zip' '{print $1}'`
echo $file
mkdir 20180316/$file
mv 20180316/$i 20180316/$file/
cd 20180316/$file/ && unzip $i && split -b 150m ${file}.txt
cd /Users/zhoulinglong/Downloads/
done
split 文件脚本
最新推荐文章于 2022-06-13 17:27:45 发布