Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gapple/drush-filesync
Drush command to sync files directory between environments
https://github.com/gapple/drush-filesync
drupal drush drush-commands
Last synced: 26 days ago
JSON representation
Drush command to sync files directory between environments
- Host: GitHub
- URL: https://github.com/gapple/drush-filesync
- Owner: gapple
- License: mit
- Created: 2016-12-01T19:51:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T21:05:30.000Z (over 7 years ago)
- Last Synced: 2024-11-16T15:53:17.487Z (about 1 month ago)
- Topics: drupal, drush, drush-commands
- Language: PHP
- Homepage: https://gapple.github.io/drush-plugins/
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Drush File-sync
===============Drush command to sync files directory between environments
## Usage
```
Arguments:
source Source alias
destination Destination aliasOptions:
--only-private Only sync the private files directory
--only-public Only sync the public files directory
Examples:
drush fsync @source @destination Sync both the public and private files directories
drush fsync --only-public @source @destination Only sync the public files directory
Aliases: fsync
```## Installation
### Global
#### Using Composer
1. Require `composer/installers`
```bash
composer global require composer/installers
```2. Configure the installer path for drush plugins in `~/.composer/composer.json`
```json
{
"extra": {
"installer-paths": {
"../.drush/plugins/{$name}": ["type:drupal-drush"]
}
}
}
```3. Require `gapple/drush-filesync`
```bash
composer global require gapple/drush-filesync
```#### Manual Installation
1. [Download the release package](https://github.com/gapple/drush-filesync/releases)
2. Unzip the package to `~/.drush/`### Project
#### Using Composer
1. Require `composer/installers` in your project
```bash
composer require composer/installers
```2. Configure the installer path for drush plugins in your project's `composer.json`
```json
{
"extra": {
"installer-paths": {
"drush/contrib/{$name}": ["type:drupal-drush"]
}
}
}
```3. Require `gapple/drush-filesync` in your project
```bash
composer require gapple/drush-filesync
```#### Manual Installation
1. [Download the release package](https://github.com/gapple/drush-filesync/releases)
2. Unzip the package to the `drush` folder within your project