diff --git a/cmd/slackware-sync/main.go b/cmd/slackware-sync/main.go index 2f108ca..cac7dc4 100644 --- a/cmd/slackware-sync/main.go +++ b/cmd/slackware-sync/main.go @@ -41,7 +41,7 @@ func main() { continue } - cmd := exec.Command("rsync", "-avPHS", uri.String(), dest+"/") + cmd := exec.Command("rsync", "-avPHS", "--delete", uri.String(), dest+"/") cmd.Stderr = os.Stderr // we'll want to see errors, regardless if !*flQuiet { cmd.Stdout = os.Stdout