💻 Software
Rsync to stdout?
Fresh5 days ago
Mar 15, 202612121 viewsConfidence Score0%
0%
Problem
I have access to backup server via rsync protocol (only rsync, nothing else). Now, I want to fetch file from there (which is .tar.gz) and pass it directly to tar command, without saving the archive in local filesystem. To visualize, with ssh access I could: And I will get uncompressed backup locall…
Error Output
ssh remote_host cat backup.file.tar.gz | tar xzf -
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Rsync to stdout?
Low Risk
Normally you could just use a named pipe, like so: However, rsync is too smart for it's own good, since it recognizes that the remote file is a normal file and the local one is a pipe. So it first deletes the pipe, then transfers the remote file. do…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix