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

Doesn't work with all shells? "Unknown command" #22

Open
pmiddend opened this issue Jan 23, 2020 · 5 comments
Open

Doesn't work with all shells? "Unknown command" #22

pmiddend opened this issue Jan 23, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@pmiddend
Copy link

When trying to rsync-copy a file, I get this:

fish: Unknown command sudo:root\\@cremaster
fish: 
rsync -az --info=progress2 foo myserver|sudo:"root\@myserver"

Is this a problem with my shell (fish) or possibly with the pipe character?

@stsquad
Copy link
Owner

stsquad commented Jan 23, 2020

Where did the | come from?

@pmiddend
Copy link
Author

It's standard TRAMP syntax actually.

@stsquad
Copy link
Owner

stsquad commented Jan 24, 2020

Whats the full source path?

/ssh:root@myserver:|foo

?

@pmiddend
Copy link
Author

It's:

/ssh:servername|sudo:root@servername:/root/

@stsquad stsquad added the enhancement New feature or request label Feb 14, 2020
stsquad added a commit that referenced this issue Feb 25, 2020
Use the tramp facilities to extract the local names so they don't get
tripped up by tramp syntax.
@stsquad
Copy link
Owner

stsquad commented Mar 10, 2023

@pmiddend is this fixed now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants