💻 Software
make rsync wait for a confirmation before actually changing files
Fresh5 days ago
Mar 15, 202612748 viewsConfidence Score0%
0%
Problem
I am making a synchronization between a local and a remote folder. It happened that I lost one file by a stupid command. I am used to unison and to the way you confirm ("go?") before doing the actual file transfer. Is there such an option with rsync? (no unison on the server side) Thanks!
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: make rsync wait for a confirmation before actually changing files
Low Risk
You can use the -n option with rsync to perform a dry run. rsync will tell you what operations it would have performed without actually doing them. If you're happy with the results, re-run without the -n option.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix