Unable to rsync to another volume with Git Bash
I use git bash on a windows machine: version 2.7.2 (32-bit version) of Git for Windows built on 2016-02-23 available from https://git-scm.com.
Within bash I can copy a directory from /c/
to /e/
(a USB thumb drive). However, I get errors when I try to use rsync
. I tried adding cygdrive
to the directory names, but that didn't work. Also tried adding -e
(just to see what would happen) that didn't work either.
I mention that the copy command works because it's strange that I can see the drive one way, but not see it another way.
Successful copy:
Unsuccessful rsync
:
Thank you, and please comment if you downvote to help me make the question better.
Additional background and research:
Error 255
At some point I believe that I was getting the exact same error (255), which led me to this post. However, the solution here is related to cygwin
, not git bash.
https://stackoverflow.com/questions/16969119/dotcloud-push-on-cygwin-fails-with-rsync-error-unexplained-error-code-255
Vagrant and rsync
There is a lot of good disucssion about the mechanics of rsync
, especially from mitchellh
. However, I wasn't sure which components they reference are present in my installation, or sure how to tell. I asked a separate question on this site about that issue.
source: https://github.com/mitchellh/vagrant/issues/3236
Listing drives in emulated Linux environments
source: http://mingw-users.1079350.n2.nabble.com/Windows-c-drive-td6555321.html
When I do cat /etc/fstab
I get the following:
$ cat /etc/fstab
# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table
# DO NOT REMOVE NEXT LINE. It remove cygdrive prefix from path
none / cygdrive binary,posix=0,noacl,user 0 0
none /tmp usertemp binary,posix=0,noacl 0 0
Which I think indicates that there's a volume named cygdrive
, however I have not found any command that successfully accesses that name.
Possible duplicate question:
@kenorb suggested that this question is a duplicate of
Why cwRsync doesn't work on Windows?.
I don't recall seeing this post yesterday, but this one looks the most like mine. I still think it's different because this question was posted in 2011, and this version of rsync
is from 2016. The previous version I was using yesterday morning (which was installed in 2015) gave a different error, and prompted me to upgrade my version of git / git bash.
If that question is a duplicate, there is (as of now) no accepted answer, and the top answer doesn't work for me.
In general, all this research led me to believe that there have been several issues with rsync
in Windows ports, and that this is only the most current one.
I do think the problem can be solved by me specifying the drive differently... but I don't know what would work. I've tried using the drive name, drive letter, windows colon backslash syntax. Obviously it didn't work, and in the end I'm just guessing.
rsync in msysgit
On 10/18/11 Werner BEROUX said
Is it possible to escape so as to pass "/c/Folder" as argument to an
application? Git transforms that to "C:Folder" by default and it
seems I cannot avoid it even by using common escaping methods.
https://groups.google.com/forum/#!topic/msysgit/J1hvt9Ave8g
I'm not sure if this is related, I think they're trying to use rsync inside of a git command, but it's interesting that they're having problems with the path names. I wonder if these errors caused by the path being translated to include a :
?
Error codes 12 and 255 (Edit on March 21, 2016)
Since someone else (@davidpostill) is saying this is a duplicate as well, I thought I would try the answers / comments in the other question again.
The top voted answers and comments from the other question still didn't work for me, which leads me back to the conclusion that this is a different problem.
Here are the results of trying rsync from the thumb drive, as suggested in the final comment of the top voted answer on the other question:
First I tried using /c/
, which is the way to reference drives in other commands in Bash for Windows.
user@computer MINGW32 /e
$ rsync -trd /c/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
I got same error with /cygwin
prefix:
user@computer MINGW32 /e
$ rsync -trd /cygwin/c/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
Tried various types of adding c:
, but as it's been pointed out in the past, the colon makes rsync
think it's a remote connection, and so that fails with error 255.
user@computer MINGW32 /e
$ rsync -trd /c:/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
windows bash rsync mingw
|
show 1 more comment
I use git bash on a windows machine: version 2.7.2 (32-bit version) of Git for Windows built on 2016-02-23 available from https://git-scm.com.
Within bash I can copy a directory from /c/
to /e/
(a USB thumb drive). However, I get errors when I try to use rsync
. I tried adding cygdrive
to the directory names, but that didn't work. Also tried adding -e
(just to see what would happen) that didn't work either.
I mention that the copy command works because it's strange that I can see the drive one way, but not see it another way.
Successful copy:
Unsuccessful rsync
:
Thank you, and please comment if you downvote to help me make the question better.
Additional background and research:
Error 255
At some point I believe that I was getting the exact same error (255), which led me to this post. However, the solution here is related to cygwin
, not git bash.
https://stackoverflow.com/questions/16969119/dotcloud-push-on-cygwin-fails-with-rsync-error-unexplained-error-code-255
Vagrant and rsync
There is a lot of good disucssion about the mechanics of rsync
, especially from mitchellh
. However, I wasn't sure which components they reference are present in my installation, or sure how to tell. I asked a separate question on this site about that issue.
source: https://github.com/mitchellh/vagrant/issues/3236
Listing drives in emulated Linux environments
source: http://mingw-users.1079350.n2.nabble.com/Windows-c-drive-td6555321.html
When I do cat /etc/fstab
I get the following:
$ cat /etc/fstab
# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table
# DO NOT REMOVE NEXT LINE. It remove cygdrive prefix from path
none / cygdrive binary,posix=0,noacl,user 0 0
none /tmp usertemp binary,posix=0,noacl 0 0
Which I think indicates that there's a volume named cygdrive
, however I have not found any command that successfully accesses that name.
Possible duplicate question:
@kenorb suggested that this question is a duplicate of
Why cwRsync doesn't work on Windows?.
I don't recall seeing this post yesterday, but this one looks the most like mine. I still think it's different because this question was posted in 2011, and this version of rsync
is from 2016. The previous version I was using yesterday morning (which was installed in 2015) gave a different error, and prompted me to upgrade my version of git / git bash.
If that question is a duplicate, there is (as of now) no accepted answer, and the top answer doesn't work for me.
In general, all this research led me to believe that there have been several issues with rsync
in Windows ports, and that this is only the most current one.
I do think the problem can be solved by me specifying the drive differently... but I don't know what would work. I've tried using the drive name, drive letter, windows colon backslash syntax. Obviously it didn't work, and in the end I'm just guessing.
rsync in msysgit
On 10/18/11 Werner BEROUX said
Is it possible to escape so as to pass "/c/Folder" as argument to an
application? Git transforms that to "C:Folder" by default and it
seems I cannot avoid it even by using common escaping methods.
https://groups.google.com/forum/#!topic/msysgit/J1hvt9Ave8g
I'm not sure if this is related, I think they're trying to use rsync inside of a git command, but it's interesting that they're having problems with the path names. I wonder if these errors caused by the path being translated to include a :
?
Error codes 12 and 255 (Edit on March 21, 2016)
Since someone else (@davidpostill) is saying this is a duplicate as well, I thought I would try the answers / comments in the other question again.
The top voted answers and comments from the other question still didn't work for me, which leads me back to the conclusion that this is a different problem.
Here are the results of trying rsync from the thumb drive, as suggested in the final comment of the top voted answer on the other question:
First I tried using /c/
, which is the way to reference drives in other commands in Bash for Windows.
user@computer MINGW32 /e
$ rsync -trd /c/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
I got same error with /cygwin
prefix:
user@computer MINGW32 /e
$ rsync -trd /cygwin/c/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
Tried various types of adding c:
, but as it's been pointed out in the past, the colon makes rsync
think it's a remote connection, and so that fails with error 255.
user@computer MINGW32 /e
$ rsync -trd /c:/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
windows bash rsync mingw
Can you transcript your errors into text, please? See: Discourage screenshots of code and/or errors
– kenorb
Mar 16 '16 at 15:30
Did you tryrsync -trd c:/examp/ e:/
?
– ams
Mar 16 '16 at 16:10
@ams yes, same error
– geneorama
Mar 16 '16 at 20:23
Rebuildingmysys2
might help, but I'm hesitant to follow these steps. I can live withoutrsync
, but I can't afford to breakgit
github.com/git-for-windows/git/wiki/Building-msys2-runtime
– geneorama
Mar 17 '16 at 14:44
Have you tried WSL. It allows thumb-drive mounts and rsyncing.
– Peter Berbec
Sep 26 '17 at 16:26
|
show 1 more comment
I use git bash on a windows machine: version 2.7.2 (32-bit version) of Git for Windows built on 2016-02-23 available from https://git-scm.com.
Within bash I can copy a directory from /c/
to /e/
(a USB thumb drive). However, I get errors when I try to use rsync
. I tried adding cygdrive
to the directory names, but that didn't work. Also tried adding -e
(just to see what would happen) that didn't work either.
I mention that the copy command works because it's strange that I can see the drive one way, but not see it another way.
Successful copy:
Unsuccessful rsync
:
Thank you, and please comment if you downvote to help me make the question better.
Additional background and research:
Error 255
At some point I believe that I was getting the exact same error (255), which led me to this post. However, the solution here is related to cygwin
, not git bash.
https://stackoverflow.com/questions/16969119/dotcloud-push-on-cygwin-fails-with-rsync-error-unexplained-error-code-255
Vagrant and rsync
There is a lot of good disucssion about the mechanics of rsync
, especially from mitchellh
. However, I wasn't sure which components they reference are present in my installation, or sure how to tell. I asked a separate question on this site about that issue.
source: https://github.com/mitchellh/vagrant/issues/3236
Listing drives in emulated Linux environments
source: http://mingw-users.1079350.n2.nabble.com/Windows-c-drive-td6555321.html
When I do cat /etc/fstab
I get the following:
$ cat /etc/fstab
# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table
# DO NOT REMOVE NEXT LINE. It remove cygdrive prefix from path
none / cygdrive binary,posix=0,noacl,user 0 0
none /tmp usertemp binary,posix=0,noacl 0 0
Which I think indicates that there's a volume named cygdrive
, however I have not found any command that successfully accesses that name.
Possible duplicate question:
@kenorb suggested that this question is a duplicate of
Why cwRsync doesn't work on Windows?.
I don't recall seeing this post yesterday, but this one looks the most like mine. I still think it's different because this question was posted in 2011, and this version of rsync
is from 2016. The previous version I was using yesterday morning (which was installed in 2015) gave a different error, and prompted me to upgrade my version of git / git bash.
If that question is a duplicate, there is (as of now) no accepted answer, and the top answer doesn't work for me.
In general, all this research led me to believe that there have been several issues with rsync
in Windows ports, and that this is only the most current one.
I do think the problem can be solved by me specifying the drive differently... but I don't know what would work. I've tried using the drive name, drive letter, windows colon backslash syntax. Obviously it didn't work, and in the end I'm just guessing.
rsync in msysgit
On 10/18/11 Werner BEROUX said
Is it possible to escape so as to pass "/c/Folder" as argument to an
application? Git transforms that to "C:Folder" by default and it
seems I cannot avoid it even by using common escaping methods.
https://groups.google.com/forum/#!topic/msysgit/J1hvt9Ave8g
I'm not sure if this is related, I think they're trying to use rsync inside of a git command, but it's interesting that they're having problems with the path names. I wonder if these errors caused by the path being translated to include a :
?
Error codes 12 and 255 (Edit on March 21, 2016)
Since someone else (@davidpostill) is saying this is a duplicate as well, I thought I would try the answers / comments in the other question again.
The top voted answers and comments from the other question still didn't work for me, which leads me back to the conclusion that this is a different problem.
Here are the results of trying rsync from the thumb drive, as suggested in the final comment of the top voted answer on the other question:
First I tried using /c/
, which is the way to reference drives in other commands in Bash for Windows.
user@computer MINGW32 /e
$ rsync -trd /c/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
I got same error with /cygwin
prefix:
user@computer MINGW32 /e
$ rsync -trd /cygwin/c/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
Tried various types of adding c:
, but as it's been pointed out in the past, the colon makes rsync
think it's a remote connection, and so that fails with error 255.
user@computer MINGW32 /e
$ rsync -trd /c:/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
windows bash rsync mingw
I use git bash on a windows machine: version 2.7.2 (32-bit version) of Git for Windows built on 2016-02-23 available from https://git-scm.com.
Within bash I can copy a directory from /c/
to /e/
(a USB thumb drive). However, I get errors when I try to use rsync
. I tried adding cygdrive
to the directory names, but that didn't work. Also tried adding -e
(just to see what would happen) that didn't work either.
I mention that the copy command works because it's strange that I can see the drive one way, but not see it another way.
Successful copy:
Unsuccessful rsync
:
Thank you, and please comment if you downvote to help me make the question better.
Additional background and research:
Error 255
At some point I believe that I was getting the exact same error (255), which led me to this post. However, the solution here is related to cygwin
, not git bash.
https://stackoverflow.com/questions/16969119/dotcloud-push-on-cygwin-fails-with-rsync-error-unexplained-error-code-255
Vagrant and rsync
There is a lot of good disucssion about the mechanics of rsync
, especially from mitchellh
. However, I wasn't sure which components they reference are present in my installation, or sure how to tell. I asked a separate question on this site about that issue.
source: https://github.com/mitchellh/vagrant/issues/3236
Listing drives in emulated Linux environments
source: http://mingw-users.1079350.n2.nabble.com/Windows-c-drive-td6555321.html
When I do cat /etc/fstab
I get the following:
$ cat /etc/fstab
# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table
# DO NOT REMOVE NEXT LINE. It remove cygdrive prefix from path
none / cygdrive binary,posix=0,noacl,user 0 0
none /tmp usertemp binary,posix=0,noacl 0 0
Which I think indicates that there's a volume named cygdrive
, however I have not found any command that successfully accesses that name.
Possible duplicate question:
@kenorb suggested that this question is a duplicate of
Why cwRsync doesn't work on Windows?.
I don't recall seeing this post yesterday, but this one looks the most like mine. I still think it's different because this question was posted in 2011, and this version of rsync
is from 2016. The previous version I was using yesterday morning (which was installed in 2015) gave a different error, and prompted me to upgrade my version of git / git bash.
If that question is a duplicate, there is (as of now) no accepted answer, and the top answer doesn't work for me.
In general, all this research led me to believe that there have been several issues with rsync
in Windows ports, and that this is only the most current one.
I do think the problem can be solved by me specifying the drive differently... but I don't know what would work. I've tried using the drive name, drive letter, windows colon backslash syntax. Obviously it didn't work, and in the end I'm just guessing.
rsync in msysgit
On 10/18/11 Werner BEROUX said
Is it possible to escape so as to pass "/c/Folder" as argument to an
application? Git transforms that to "C:Folder" by default and it
seems I cannot avoid it even by using common escaping methods.
https://groups.google.com/forum/#!topic/msysgit/J1hvt9Ave8g
I'm not sure if this is related, I think they're trying to use rsync inside of a git command, but it's interesting that they're having problems with the path names. I wonder if these errors caused by the path being translated to include a :
?
Error codes 12 and 255 (Edit on March 21, 2016)
Since someone else (@davidpostill) is saying this is a duplicate as well, I thought I would try the answers / comments in the other question again.
The top voted answers and comments from the other question still didn't work for me, which leads me back to the conclusion that this is a different problem.
Here are the results of trying rsync from the thumb drive, as suggested in the final comment of the top voted answer on the other question:
First I tried using /c/
, which is the way to reference drives in other commands in Bash for Windows.
user@computer MINGW32 /e
$ rsync -trd /c/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
I got same error with /cygwin
prefix:
user@computer MINGW32 /e
$ rsync -trd /cygwin/c/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
Tried various types of adding c:
, but as it's been pointed out in the past, the colon makes rsync
think it's a remote connection, and so that fails with error 255.
user@computer MINGW32 /e
$ rsync -trd /c:/examp/ .
ssh: Could not resolve hostname c: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]
windows bash rsync mingw
windows bash rsync mingw
edited May 23 '17 at 12:41
Community♦
1
1
asked Mar 16 '16 at 15:18
geneoramageneorama
4131512
4131512
Can you transcript your errors into text, please? See: Discourage screenshots of code and/or errors
– kenorb
Mar 16 '16 at 15:30
Did you tryrsync -trd c:/examp/ e:/
?
– ams
Mar 16 '16 at 16:10
@ams yes, same error
– geneorama
Mar 16 '16 at 20:23
Rebuildingmysys2
might help, but I'm hesitant to follow these steps. I can live withoutrsync
, but I can't afford to breakgit
github.com/git-for-windows/git/wiki/Building-msys2-runtime
– geneorama
Mar 17 '16 at 14:44
Have you tried WSL. It allows thumb-drive mounts and rsyncing.
– Peter Berbec
Sep 26 '17 at 16:26
|
show 1 more comment
Can you transcript your errors into text, please? See: Discourage screenshots of code and/or errors
– kenorb
Mar 16 '16 at 15:30
Did you tryrsync -trd c:/examp/ e:/
?
– ams
Mar 16 '16 at 16:10
@ams yes, same error
– geneorama
Mar 16 '16 at 20:23
Rebuildingmysys2
might help, but I'm hesitant to follow these steps. I can live withoutrsync
, but I can't afford to breakgit
github.com/git-for-windows/git/wiki/Building-msys2-runtime
– geneorama
Mar 17 '16 at 14:44
Have you tried WSL. It allows thumb-drive mounts and rsyncing.
– Peter Berbec
Sep 26 '17 at 16:26
Can you transcript your errors into text, please? See: Discourage screenshots of code and/or errors
– kenorb
Mar 16 '16 at 15:30
Can you transcript your errors into text, please? See: Discourage screenshots of code and/or errors
– kenorb
Mar 16 '16 at 15:30
Did you try
rsync -trd c:/examp/ e:/
?– ams
Mar 16 '16 at 16:10
Did you try
rsync -trd c:/examp/ e:/
?– ams
Mar 16 '16 at 16:10
@ams yes, same error
– geneorama
Mar 16 '16 at 20:23
@ams yes, same error
– geneorama
Mar 16 '16 at 20:23
Rebuilding
mysys2
might help, but I'm hesitant to follow these steps. I can live without rsync
, but I can't afford to break git
github.com/git-for-windows/git/wiki/Building-msys2-runtime– geneorama
Mar 17 '16 at 14:44
Rebuilding
mysys2
might help, but I'm hesitant to follow these steps. I can live without rsync
, but I can't afford to break git
github.com/git-for-windows/git/wiki/Building-msys2-runtime– geneorama
Mar 17 '16 at 14:44
Have you tried WSL. It allows thumb-drive mounts and rsyncing.
– Peter Berbec
Sep 26 '17 at 16:26
Have you tried WSL. It allows thumb-drive mounts and rsyncing.
– Peter Berbec
Sep 26 '17 at 16:26
|
show 1 more comment
1 Answer
1
active
oldest
votes
Two years later, I've found an answer that seems to work on my latest computer (Windows 10, 64 bit).
- Install git bash for Windows
- Download
rsync
from futureware.at* - Extract to anywhere, I choose
C:rsync-3.1.2-2-x86_64.pkg
- Add the bin folder to the top of your system path
* I do not know who is behind futureware.at, I would prefer to link to a more primary source.
I have also posted the answer here in response to a more general question, because I couldn't remember where this question was at the time.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1053650%2funable-to-rsync-to-another-volume-with-git-bash%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Two years later, I've found an answer that seems to work on my latest computer (Windows 10, 64 bit).
- Install git bash for Windows
- Download
rsync
from futureware.at* - Extract to anywhere, I choose
C:rsync-3.1.2-2-x86_64.pkg
- Add the bin folder to the top of your system path
* I do not know who is behind futureware.at, I would prefer to link to a more primary source.
I have also posted the answer here in response to a more general question, because I couldn't remember where this question was at the time.
add a comment |
Two years later, I've found an answer that seems to work on my latest computer (Windows 10, 64 bit).
- Install git bash for Windows
- Download
rsync
from futureware.at* - Extract to anywhere, I choose
C:rsync-3.1.2-2-x86_64.pkg
- Add the bin folder to the top of your system path
* I do not know who is behind futureware.at, I would prefer to link to a more primary source.
I have also posted the answer here in response to a more general question, because I couldn't remember where this question was at the time.
add a comment |
Two years later, I've found an answer that seems to work on my latest computer (Windows 10, 64 bit).
- Install git bash for Windows
- Download
rsync
from futureware.at* - Extract to anywhere, I choose
C:rsync-3.1.2-2-x86_64.pkg
- Add the bin folder to the top of your system path
* I do not know who is behind futureware.at, I would prefer to link to a more primary source.
I have also posted the answer here in response to a more general question, because I couldn't remember where this question was at the time.
Two years later, I've found an answer that seems to work on my latest computer (Windows 10, 64 bit).
- Install git bash for Windows
- Download
rsync
from futureware.at* - Extract to anywhere, I choose
C:rsync-3.1.2-2-x86_64.pkg
- Add the bin folder to the top of your system path
* I do not know who is behind futureware.at, I would prefer to link to a more primary source.
I have also posted the answer here in response to a more general question, because I couldn't remember where this question was at the time.
answered Dec 27 '18 at 19:54
geneoramageneorama
4131512
4131512
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1053650%2funable-to-rsync-to-another-volume-with-git-bash%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you transcript your errors into text, please? See: Discourage screenshots of code and/or errors
– kenorb
Mar 16 '16 at 15:30
Did you try
rsync -trd c:/examp/ e:/
?– ams
Mar 16 '16 at 16:10
@ams yes, same error
– geneorama
Mar 16 '16 at 20:23
Rebuilding
mysys2
might help, but I'm hesitant to follow these steps. I can live withoutrsync
, but I can't afford to breakgit
github.com/git-for-windows/git/wiki/Building-msys2-runtime– geneorama
Mar 17 '16 at 14:44
Have you tried WSL. It allows thumb-drive mounts and rsyncing.
– Peter Berbec
Sep 26 '17 at 16:26