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

Rsync alternative for Windows #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

mar1naj
Copy link

@mar1naj mar1naj commented Feb 7, 2013

For Windows, rsync is replaced with robocopy to mirror the temp directory into the permanent one. And used Windows commands to delete directories and files.

Not sure if the OS check is safe. Might need further testing. On Windows, it works well for me.

For Windows, rsync is replaced with robocopy to mirror the temp directory into the permanent one. And used Windows commands to delete directories and files.
@boutell
Copy link
Member

boutell commented Feb 7, 2013

Hmmm, did you patch the documentation to cover installing robocopy?

On Thu, Feb 7, 2013 at 4:19 PM, mar1naj notifications@github.com wrote:

For Windows, rsync is replaced with robocopy to mirror the temp directory
into the permanent one. And used Windows commands to delete directories and
files.

Not sure if the OS check is safe. Might need further testing. On Windows, it
works well for me.


You can merge this Pull Request by running

git pull https://github.com/mar1naj/symfony2-file-uploader-bundle master

Or view, comment on, or merge it at:

#23

Commit Summary

Update Services/FileManager.php
Update Services/FileManager.php

File Changes

M Services/FileManager.php (37)

Patch Links:

https://github.com/punkave/symfony2-file-uploader-bundle/pull/23.patch
https://github.com/punkave/symfony2-file-uploader-bundle/pull/23.diff

Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

@mar1naj
Copy link
Author

mar1naj commented Feb 7, 2013

No I did not. I think robocopy is available since Windows Server 2003 and Vista. And I don't see any mention for rsync either.

@mar1naj mar1naj closed this Feb 7, 2013
@mar1naj mar1naj reopened this Feb 7, 2013
@jackgfdreacher
Copy link

nice article

@barettojames99
Copy link

To depict rsync's abiltiy on windows I had to install cygwin. Didn't work out for me, nor did robocopy satisfied my needs. While searching for rsync on windows I found people suggesting me to use GS Richcopy 360. This software is quite good and works really good, its as effective as Rsync.

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.

None yet

4 participants