root_path="/root/spark-data"
oss_hdfs_path="oss://art-recommend.oss-cn-hangzhou.aliyuncs.com/"
model_path=$root_path/model
day=$1

cat /root/spark-data/model/model_share_20231216.txt | sed '1d' | awk -F " " '{if($2!="0") print $1"\t"$2}' > /root/spark-data/model/model_share_now.txt

dfs -put /root/spark-data/model/model_share_now.txt oss://art-recommend.oss-cn-hangzhou.aliyuncs.com/video_model

hdfs dfs -put $mdoel_path/model_share_$day.txt ${oss_hdfs_path}/video_str_model