Get cwRsync to Recognize Windows Drive Letter
cwRsync is a Windows port of the popular rsync UNIX utility. On UNIX, each drive is mapped to a directory, instead of being represented as a drive letter. Therefore, cwRsync also doesn't recognize Windows drive letter.
There are two ways to transfer files between two Windows drives. One way is to map the Windows drive to a directory (much like UNIX) using the Windows mountvol command-line utility. The second method is to use the following directory convention:
Where [drive letter] is the letter 'a' to 'z' without the colon. All UNIX utilities ported using cygwin supports this convention. And cwRsync is no exception. An example to duplicate drive "m:" to drive "n:" is as follows:
rsync -auv /cygdrive/m/ /cygdrive/n/
Now, isn't that easy?
Spam Control | * indicates required field
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
21 Users Online
Copyright © 2004 - 2013. All Rights Reserved.