feat: 图片迁移脚本
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
This commit is contained in:
12
scripts/examples/images.example.txt
Normal file
12
scripts/examples/images.example.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
# 图片路径示例文件
|
||||
# 每行一个相对路径(相对于配置文件中指定的基础目录)
|
||||
# 空行和以 # 开头的行会被忽略
|
||||
# 路径使用正斜杠 /,即使在Windows系统上
|
||||
|
||||
# 注意:这些路径都是相对路径
|
||||
# 实际文件在源服务器上的完整路径是:源基础目录 + 相对路径
|
||||
# 例如:如果源基础目录是 /var/www/html/images
|
||||
# 那么 uploads/products/2024/01/product1.jpg 对应的完整路径是:
|
||||
# /var/www/html/images/uploads/products/2024/01/product1.jpg
|
||||
|
||||
images/article/logo.png
|
||||
Reference in New Issue
Block a user