Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/youwegit/pimcoreassetimporter
https://github.com/youwegit/pimcoreassetimporter
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/youwegit/pimcoreassetimporter
- Owner: YouweGit
- Created: 2017-11-15T14:07:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-18T08:26:23.000Z (over 2 years ago)
- Last Synced: 2024-11-07T21:06:42.438Z (about 2 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 1
- Watchers: 10
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pimcore asset importer
Import assets including (sub)directories to Pimcore 5 or 6 via the command line.
## Requirements
Pimcore 5 or 6
## Installation
```bash
composer require youwe/pimcore-asset-importer:~1.0
```## Usage
To view the available arguments and options:
```bash
./bin/console help youwe:import:assets
```### Example
```bash
./bin/console youwe:import:assets /path/to/files/ --rootPath /Images/ --batchSize 10 --deleteOriginal --updateAssets
```* Import assets from the /path/to/files/ directory.
* Into the Pimcore /Images/ asset folder.
* Import 10 assets at a time (not counting (sub)folders). Useful for automated import.
* Once successfully imported the original file is deleted within the /path/to/files/ directory (required for batch import).
* Assets are updated if they already exist (based on file name).