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

should fail on remote sources #22

Open
milahu opened this issue Sep 14, 2024 · 0 comments
Open

should fail on remote sources #22

milahu opened this issue Sep 14, 2024 · 0 comments

Comments

@milahu
Copy link

milahu commented Sep 14, 2024

i want to translate the rsync call

rsync --recursive --info=progress2 svn.code.sf.net::p/jdownloader-svn-mirror-milahu/code/ jdownloader/

to the parsyncfp2 call

parsyncfp2 svn.code.sf.net::p/jdownloader-svn-mirror-milahu/code/ jdownloader/

but remote sources are not supported by parsyncfp2

currently parsyncfp2 tries to use the source path
$PWD/svn.code.sf.net::p/jdownloader-svn-mirror-milahu/code/

the :: between host and path means "use rsync protocol"

man rsync

Access via rsync daemon:
   Pull:
       rsync [OPTION...] [USER@]HOST::SRC... [DEST]
       rsync [OPTION...] rsync://[USER@]HOST[:PORT]/SRC... [DEST]
   Push:
       rsync [OPTION...] SRC... [USER@]HOST::DEST
       rsync [OPTION...] SRC... rsync://[USER@]HOST[:PORT]/DEST)

remote sources are not supported by parsyncfp2

same limitation with fpsync

$ fpsync svn.code.sf.net:p/jdownloader-svn-mirror-milahu/code/ jdownloader/
Please supply an absolute path for src_dir/
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

1 participant