代码拉取完成,页面将自动刷新
#!/bin/bash
# https://app.yinxiang.com/shard/s22/nl/4928451/ea347a17-ae87-4853-9e49-ce2a2de73196
# copy_file()
# {
# if [ ! -f "$1" ]; then
# echo ""$1" not found!"
# notify-send ""$1" not found!"
# fi
# if [ "$1" -nt "$2/$(basename $1)" ]; then
# \cp "$1" "$2"
# echo ""$1" has been updated on $(LC_TIME=en_US.UTF-8 date +%Y-%m-%d-%H-%M-%S-%a)!"
# fi
# }
FILE1=~/Documents/repo-research/compAppr/compAppr.pdf
DESTINATION1=/media/a/DATA/data-yun-T3640/jianguoyun/Nutstore/working
~/.df/dotfiles/scripts/copy_file.sh $FILE1 $DESTINATION1
FILE2=~/.df/dotfiles/vim/UltiSnips/tex_ganx.snippets
DESTINATION2=/home/a/.df/UltiSnips
~/.df/dotfiles/scripts/copy_file.sh $FILE2 $DESTINATION2
FILE3=~/.df/dotfiles/scripts/copy_files.sh
DESTINATION3=/home/a/.df/scripts
~/.df/dotfiles/scripts/copy_file.sh $FILE3 $DESTINATION3
# echo "Revise $FILE3 on $(date +%y%m%d-%H)"
FILE4=~/.df/dotfiles/vim/UltiSnips/all.snippets
DESTINATION4=/home/a/.df/UltiSnips
~/.df/dotfiles/scripts/copy_file.sh $FILE4 $DESTINATION4
# echo "Revise $FILE4 on $(date +%y%m%d-%H)"
FILE5=~/Documents/repo-research/sddsp/sddsp.pdf
DESTINATION5=/media/a/DATA/data-yun-T3640/jianguoyun/Nutstore/working
~/.df/dotfiles/scripts/copy_file.sh $FILE5 $DESTINATION5
FILE6=~/.df/dotfiles/scripts/config/crontab_main
DESTINATION6=/home/a/.df/scripts/config
~/.df/dotfiles/scripts/copy_file.sh $FILE6 $DESTINATION6
# FILE7=*.sgf
# SOURCE7=~/Downloads/
# DESTINATION7=/media/a/DATA/data-yun-T3640/jianguoyun/Nutstore/weiqipu/yike
# move_files $SOURCE7 $FILE7 $DESTINATION7
mv ~/Downloads/*.sgf /media/a/DATA/data-yun-T3640/jianguoyun/Nutstore/weiqipu/yike/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。