Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'drush rsync' creates another inserted 'files' directory #2529

Closed
ArtuGit opened this issue Jan 1, 2017 · 3 comments
Closed

'drush rsync' creates another inserted 'files' directory #2529

ArtuGit opened this issue Jan 1, 2017 · 3 comments

Comments

@ArtuGit
Copy link

ArtuGit commented Jan 1, 2017

I perform
'drush rsync @mysite.dev:%files @mysite.local:%files'
and Drush creates a '/sites/all/default/files/files' directory.

There is the superfluous 'files' directory ('/files/files').

Is it an idea or a lack of my aliases configuration?


Happy New Year!
It is time to find out it. ))
There a loss of time.

@derimagia
Copy link

derimagia commented Jan 24, 2017

Take a look at how rsync handles paths: http://qdosmsq.dunbar-it.co.uk/blog/2013/02/rsync-to-slash-or-not-to-slash/

Also could be related to #2324 (comment) (Slash is being stripped)

@2pha
Copy link

2pha commented Jan 26, 2017

I'm pretty sure your command should be:
'drush rsync @mysite.dev:%files/ @mysite.local:%files'

@ArtuGit
Copy link
Author

ArtuGit commented Jan 27, 2017

Thank you. it so flexibly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants