Skip to content

Releases: plutonium-239/rbcp

rbcp-v1.4.1

09 May 20:37

Choose a tag to compare

v1.4.1: minor QOL improvements

Changed

  • improve help text

Fixed

  • properly truncate text, otherwise deeply nested trees would lead to log spam

Release 141...

[CHANGELOG.md] [Commits since v1.4.0]

rbcp-v1.4.0

08 Oct 14:05

Choose a tag to compare

v1.4.0: unix cp syntax - globs, braces and multiple paths!

rbcp log_{1,2}.txt test_* d:/dest

Added

  • add support for unix cp syntax
    • add mvdan/sh parsing for multiple sources paths, braces, globs, etc.
    • command and process substitution not allowed for now
    • dont replace env vars (robocopy does this on its own)
  • add fatal error style

Changed

  • robocopy passthrough arguments now need to be specified with -[
  • refactor the gigantic main function into setup, parseArgs
  • normalize paths to /

Fixed

  • dont start robocopy when nothing to copy 🙃
  • check for brace expansion file conflict

[CHANGELOG.md] [Commits since v1.3.0]

rbcp-v1.3.0

03 Oct 15:06

Choose a tag to compare

v1.3.0: force quit, better summary and logging

This update adds a force quit option that cancels the running robocopy command by pressing q or ctrl+c.

Note

No data would be lost as robocopy in general does not delete. When it does delete (when using /MIR), it waits for a file to be completely copied before deletion, so you will always have at least one complete copy - ROBUST file copy 😄.

Added

  • version injection in goreleaser + better --version text
  • committed taskfile
  • added a force quit mechanism
  • added a user-facing error log style

Changed

  • replaced direct log calls with global logger (on which styles are applied)
  • improved struct logging of config and (new) stats by changing %v to %+v
  • changed exec.Command to exec.CommandContext for cancellation in force quit events

[CHANGELOG.md] [Commits since v1.2.2]

rbcp-v1.2.2

11 Sep 19:28

Choose a tag to compare

v1.2.2: bugfix, add future config file

Added

  • demo gif to readme, made using vhs (asciicast/PowerSession errors out because of some unicode error, ideally would want that)
  • add the changelog.md file
  • add a toml config file for allowing basic options (in development)
    • use nerd font arrow (which needs any NF to be installed) instead of --> (which depends on font ligatures to be present and enabled). surprisingly there is no good option for a unicode big long arrow.
    • show progress bar or not
    • theming options - pretty customizable

Fixed

  • fix %w not allowed in (charmbracelet)log.Errorf

[CHANGELOG.md] [Commits since v1.2.1]

v1.1.0

03 Oct 15:10

Choose a tag to compare

v1.1.0: huge improvements

Added

  • added proper cli args
  • added lipgloss styling to output, highlight important stuff

Changed

  • better summary display
  • better exit code handling
  • improved exit code "reasoning"

Fixed

  • improved goroutine launching to have minimal waiting time after robocopy is actually done (~0.01 s)
  • fix a hanging bug
  • formatting and minor refactoring

[CHANGELOG.md] [Commit Log]