emteknetnz/silverstripe-file-cloner
最新稳定版本:1.0.1
Composer 安装命令:
composer require emteknetnz/silverstripe-file-cloner
包简介
README 文档
README
A quick silverstripe build task to generate lots of published files in a single folder
Only use this for testing!
Important! if you copy images you'll end up with 4x the number of files that you expect because variants will be created, so recommend you just use PDF files
Instalation:
composer require emteknetnz/silverstripe-file-cloner
Usage:
- Login as admin
- Ensure there are 2x folders:
- First folder contain one or more source files that will be cloned - recommend you use PDFs and not images
- Second folder is where you will clone the files to
- Ensure the file(s) in the first folder have been published via the CMS
- Run the build task
https://mysite.test/dev/tasks/FileClonerTask?fileID=123&folderID=456&num=1000
Querystring parameters
- fileID - the file ID of the file you wish to clone from the first folder
- folderID - the folder ID of the second folder you wish to clone all the files into
- num - the number of files to clone - between 1 and 10,000
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-05-24