Skip to content

A Build Task allowing for file migration from a local directory (recursively) to the SilverStripe Asset system

License

Notifications You must be signed in to change notification settings

dynamic/silverstripe-file-migration-task

Repository files navigation

SilverStripe File Migration Task

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'

About

A Build Task allowing for file migration from a local directory (recursively) to the SilverStripe Asset system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages