dynamic/silverstripe-file-migration-task

Sync files with the File table

Installs: 1 437

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 7

Forks: 2

Open Issues: 0

Type:silverstripe-vendormodule

1.0.0 2020-03-03 15:09 UTC

This package is auto-updated.

Last update: 2024-04-16 17:33:27 UTC


README

Summary

This Build Task allows for traversing a directory recursively and migrate those files into the SilverStripe filesystem. The task checks against the allowed extensions on File.

Requirements

  • SilverStripe Assets ^1.0

Installation

composer require dynamic/silverstripe-file-migration-task

Usage

Configuration

Dynamic\FileMigration\Tasks\FileMigrationTask:
  # Path to directory with files (required)
  existing_file_system_path: '/path/to/your/files'
  # Base folder to create in Assets (optional)
  base_upload_folder: '/uploads'