equal
deleted
inserted
replaced
428 clean: Boolean = false, |
428 clean: Boolean = false, |
429 args: List[String] = Nil |
429 args: List[String] = Nil |
430 ): Process_Result = { |
430 ): Process_Result = { |
431 val script = |
431 val script = |
432 "rsync --protect-args --archive" + |
432 "rsync --protect-args --archive" + |
433 (if (verbose) " --verbose" else "") + |
433 (if (verbose || dry_run) " --verbose" else "") + |
434 (if (dry_run) " --dry-run" else "") + |
434 (if (dry_run) " --dry-run" else "") + |
435 (if (clean) " --delete-excluded" else "") + |
435 (if (clean) " --delete-excluded" else "") + |
436 (if (args.nonEmpty) " " + Bash.strings(args) else "") |
436 (if (args.nonEmpty) " " + Bash.strings(args) else "") |
437 progress.bash(script, cwd = cwd, echo = true) |
437 progress.bash(script, cwd = cwd, echo = true) |
438 } |
438 } |