forked from xiaoyao-work/TP-Admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
assets.sh
58 lines (58 loc) · 2.23 KB
/
assets.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/sh
cd /f/wamp/www/
images=(
# '/assets/images/admin/admin_img/left_menu_openClose.png'
# '/assets/images/admin/logo.png'
# '/assets/images/admin/admin_img/left_menu.png'
# '/assets/images/admin/admin_img/left_bg.png'
# '/assets/images/admin/login_bg.png'
# '/assets/images/admin/ipt_bg.jpg'
# '/assets/images/admin/login_dl_btn.jpg'
# '/assets/images/admin/login_ts140x89.gif'
# '/assets/images/admin/msg_img/msg.png'
# '/assets/images/admin/msg_img/msg_bg.png'
# '/assets/images/admin/msg_bg.png'
# '/assets/images/admin/admin_img/bnt_bg.png'
# '/assets/images/admin/admin_img/input.png'
# '/assets/js/admin/jquery.treetable.js'
# '/assets/css/admin/jquery.treetable.theme.default.css'
# '/assets/css/admin/jquery.treetable.css'
# '/assets/js/JSCal/jscal2.js'
# '/assets/css/JSCal/jscal2.css'
# '/assets/js/JSCal/lang/cn.js'
# '/assets/css/JSCal/border-radius.css'
# '/assets/css/JSCal/win2k/win2k.css'
#'/assets/images/admin/input_date.png'
'/assets/css/JSCal/img/time-up.png'
'/assets/js/admin/uploadify/uploadify.css'
'/assets/css/admin/upload.css'
'/assets/js/admin/uploadify/jquery.uploadify.js'
'/assets/js/admin/uploadify/uploadify.swf'
'/assets/images/admin/swfBnt.png'
'/assets/js/admin/uploadify/uploadify-cancel.png'
'/assets/js/admin/content_add.js'
'/assets/js/admin/attachupload.js'
'/assets/css/JSCal/border-radius.css'
'/assets/css/JSCal/win2k/win2k.css'
'/assets/js/JSCal/jscal2.js'
'/assets/js/JSCal/lang/cn.js'
'/assets/css/JSCal/jscal2.css'
'/assets/images/admin/icon/upload-pic.png'
'/assets/js/ckeditor/ckeditor.js'
'/assets/images/admin/icon/upload-pic.png'
'/assets/js/linkage/linkagesel.js'
'/assets/images/admin/ruler.gif'
'/assets/images/admin/admin_img/picBnt.png'
'/assets/js/ckeditor/config.js'
'/assets/js/ckeditor/skins/moonocolor/editor.css'
'/assets/js/ckeditor/lang/en.js'
'/assets/js/ckeditor/lang/zh-cn.js'
'/assets/js/ckeditor/styles.js'
)
for data in ${images[@]}
do
des="TP-Admin-V3.0/Public${data}"
origin="TP-Admin-V2.0/Public${data}"
file_dir=$(dirname $des)
test -d "$file_dir" || mkdir -p "$file_dir" && cp $origin $des
done