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

push: added --destination arbitrary within root pushes #616

Merged
merged 1 commit into from
Apr 7, 2016

Conversation

odeke-em
Copy link
Owner

@odeke-em odeke-em commented Apr 7, 2016

Added the ability to push directly to a final destination
without copying content, remotely/locally nor moving, using
option --destination.

  • Sample usage:

To push the content of music/Travi$+Future, integrals/complex/compilations directly to a1/b2/c3:

$ drive push --destination a1/b2/c3 music/Travi$+Future integrals/complex/compilations

where the sources exist on disk.

Fixes #612.

Added the ability to push directly to a final destination
without copying content, remotely/locally nor moving, using
option `--destination`.

- Sample usage:

To push the content of `music/Travi$+Future`, `integrals/complex/compilations` directly to `a1/b2/c3`:

```shell
$ drive push --destination a1/b2/c3 music/Travi$+Future integrals/complex/compilations
```
where the sources exist on disk.

Fixes #612.
@odeke-em odeke-em merged commit 7c654c9 into master Apr 7, 2016
odeke-em added a commit that referenced this pull request Apr 8, 2016
Keep track of the local vs remote base since we are no longer
only pushing from a single location on disk/local.
Also ensure that all paths in a push/changelist-resolve are
separator prefixed since searching for remote files always
starts with '/' as was the old style. Passing in say 'lib/f1'
is invalid since the search starts from '/' so must be '/lib/f1'.

Fixes #618
Updates #616
Updates #612
@odeke-em odeke-em deleted the push-destination branch April 29, 2016 06:18
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

Successfully merging this pull request may close these issues.

1 participant