gapple / drush-filesync
Drush command to sync files directory between environments
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:drupal-drush
Requires (Dev)
- drush/drush: ^8.0
Suggests
- composer/installers: Install plugin to correct location
This package is auto-updated.
Last update: 2025-02-04 12:04:00 UTC
README
Drush command to sync files directory between environments
Usage
Arguments:
source Source alias
destination Destination alias
Options:
--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
-
Require
composer/installers
composer global require composer/installers
-
Configure the installer path for drush plugins in
~/.composer/composer.json
{ "extra": { "installer-paths": { "../.drush/plugins/{$name}": ["type:drupal-drush"] } } }
-
Require
gapple/drush-filesync
composer global require gapple/drush-filesync
Manual Installation
- Download the release package
- Unzip the package to
~/.drush/
Project
Using Composer
-
Require
composer/installers
in your projectcomposer require composer/installers
-
Configure the installer path for drush plugins in your project's
composer.json
{ "extra": { "installer-paths": { "drush/contrib/{$name}": ["type:drupal-drush"] } } }
-
Require
gapple/drush-filesync
in your projectcomposer require gapple/drush-filesync
Manual Installation
- Download the release package
- Unzip the package to the
drush
folder within your project