s3sync-parser

command module
v0.0.0-...-0805ecd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 5 Imported by: 0

README

s3sync-parser

NOTE: This tool is made for my own use and I do not plan to put any extra effort in it. I probably won't even accept pull requests but you are free to fork it and modify as needed.

Description

aws s3 sync <localPath> s3://<bucket> --delete --dryrun produces output from which it is difficult to see which files are being moved because a move is done in two steps (delete old + upload new), and they are not even necessarily close to each other in the output.

This tool finds moves from the output and shows them as such. It's not 100% accurate: if you delete a file and upload another file with the same name (modulo path), it will be considered a move. It also shows Dropbox's cache separately so it's easier to ignore.

Usage

Build & install the binary somewhere. Then pipe the result of the aws command to the tool.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL