123456789101112131415161718192021222324252627282930313233343536 |
- #!/bin/bash
- source ~/.bash_profile
- source ~/.bashrc
- last3day=`date +"%Y%m%d" -d -4days`
- rec_result_path=./data/rec_result3_${last3day}'*'
- rec_cur_day_item_path=./data/user_cur_day_item_share_filter_${last3day}'*'
- merge_path=./data/merge_score_${last3day}'*'
- user_item_share_filter_path=./data/user_item_share_filter_${last3day}'*'
- video_data_path=./data/video_data_${last3day}'*'
- sorted_path=./data/sorted_data_${last3day}'*'
- cls_path=./data/redis_cls_${last3day}'*'
- hour_video_path=./data/hour_video_data_${last3day}'*'
- sorted_hour_path=./data/sorted_hour_data_${last3day}'*'
- rec_path=./data/rec_result_'*'
- three_days_sorted_path=./data/3_days_sorted_data_${last3day}'*'
- merge_3_days_score_path=./data/merge_3_days_score_${last3day}'*'
- user_cur_day_path=./data/user_cur_day_item_share_${last3day}'*'
- #user_cur_d=./data/user_cur_day_item_share_${last3day}'*'
- echo ${merge_path}
- echo ${video_data_path}
- echo ${cls_path}
- rm -rf ${user_cur_day_path}
- rm -rf ${user_item_share_filter_path}
- rm -rf ${rec_cur_day_item_path}
- rm -rf ${rec_result_path}
- rm -rf ${merge_path}
- rm -rf ${video_data_path}
- rm -rf ${sorted_path}
- rm -rf ${cls_path}
- rm -rf ${hour_video_path}
- rm -rf ${sorted_hour_path}
- rm -rf ${rec_path}
- rm -rf ${three_days_sorted_path}
- rm -rf ${merge_3_days_score_path}
|