Source code of filesite.io.
https://filesite.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.0 KiB
72 lines
2.0 KiB
3 years ago
|
#!/bin/sh
|
||
|
##-d- 小说
|
||
|
## |_d_ 金庸小说
|
||
|
## |_f_ 最爱金庸网站图标.ico
|
||
|
## |_f_ 最爱金庸.url
|
||
|
## |_d_ 古龙小说
|
||
|
## |_f_ 最爱古龙网站图标.ico
|
||
|
## |_f_ 最爱古龙.url
|
||
|
##-d- 图片
|
||
|
## |_d_ 图片搜索
|
||
|
## |_f_ 谷歌图片搜索图标.ico
|
||
|
## |_f_ 谷歌图片搜索.url
|
||
|
## |_f_ description.txt
|
||
|
## |_d_ 必应图片搜索
|
||
|
## |_f_ bing图标.ico
|
||
|
## |_f_ bing.url
|
||
|
## |_f_ title.txt
|
||
|
|
||
|
rm -rf content/
|
||
|
|
||
|
|
||
|
#---for favs---
|
||
|
mkdir -p content/favs/
|
||
|
cd content/favs/
|
||
|
|
||
|
rm -rf "小说/"
|
||
|
rm -rf "图片/"
|
||
|
|
||
|
mkdir -p "小说/金庸小说/"
|
||
|
mkdir -p "小说/古龙小说/"
|
||
|
mkdir -p "图片/图片搜索/"
|
||
|
mkdir -p "图片/必应图片搜索/"
|
||
|
|
||
|
touch "小说/金庸小说/最爱金庸网站图标.ico"
|
||
|
touch "小说/金庸小说/最爱金庸.url"
|
||
|
tee -a "小说/金庸小说/最爱金庸.url" <<EOF
|
||
|
[InternetShortcut]
|
||
|
URL=https://www.google.com
|
||
|
EOF
|
||
|
echo '/favs/小说/金庸小说/最爱金庸网站图标.ico' > "小说/金庸小说/snapshot.txt"
|
||
|
|
||
|
touch "小说/古龙小说/最爱古龙网站图标.ico"
|
||
|
touch "小说/古龙小说/最爱古龙.url"
|
||
|
tee -a "小说/金庸小说/最爱古龙.url" <<EOF
|
||
|
[InternetShortcut]
|
||
|
URL=https://www.google.com
|
||
|
EOF
|
||
|
|
||
|
touch "图片/图片搜索/谷歌图片搜索图标.ico"
|
||
|
touch "图片/图片搜索/谷歌图片搜索.url"
|
||
|
tee -a "图片/图片搜索/谷歌图片搜索.url" <<EOF
|
||
|
[InternetShortcut]
|
||
|
URL=https://www.google.com
|
||
|
EOF
|
||
|
touch "图片/图片搜索/description.txt"
|
||
|
tee -a "图片/图片搜索/description.txt" <<EOF
|
||
|
什么图片都能搜,
|
||
|
输入关键词,然后点“搜索”
|
||
|
EOF
|
||
|
echo '/favs/图片/图片搜索/谷歌图片搜索图标.ico' > "图片/图片搜索/snapshot.txt"
|
||
|
|
||
|
touch "图片/必应图片搜索/bing图标.ico"
|
||
|
touch "图片/必应图片搜索/bing.url"
|
||
|
tee -a "图片/必应图片搜索/bing.url" <<EOF
|
||
|
[InternetShortcut]
|
||
|
URL=https://www.bing.com
|
||
|
EOF
|
||
|
touch "图片/必应图片搜索/title.txt"
|
||
|
tee -a "图片/必应图片搜索/title.txt" <<EOF
|
||
|
Bing必应图片搜索
|
||
|
EOF
|