Coder Social home page Coder Social logo

rust-ss3's People

Contributors

jeremychone avatar jpds avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jpds

rust-ss3's Issues

new command - sync - sync from and to s3

Implement the sync command. (see #5 for original request)

Definition work

  • Look at the aws-cli sync command and see if all is sound.
  • Must handle small to humongous syncs.
  • Should look at etags and how the aw-cli does it.
  • Perhaps a mode where if present, don't do anything, and another mod echeck etags/"equality".
  • Command must be compatible when bucket-to-bucket sync will be supported.

Feature Request: Set file ctime & mtime after download

Thanks for making ss3. I'm using it to download an S3 bucket to local files. The bucket objects were created over several years, but the downloaded files all show today's date. I wish ss3 would set the file creation and modification times to the times of the source S3 objects.

The tool could also set the file creation time to the time of the oldest object version.

sync and rm operations

I'd really like to use this tool over the normal awscli Python based however, two operations that are missing are the sync and rm file operations.

Listing buckets

It should be possible to list buckets with this command, rather than returning an error:

ss3 ls s3://

new command - rm - remove key or sub-keys (with -r)

Implement the rm command. (see #5 origiinal request)

Spec

  • All rm command will prompt the user to confirm the delete
  • -f or --force flag (or something like it) to bypass the prompt

Happy paths:

# Full path, to remove a key (will prompt to confirm).
ss3 rm ss3://bucket-name/path/to/key.txt

# Same as above, but no prompt.
ss3 rm ss3://bucket-name/path/to/key.txt --force

# Prefix recursive delete (--recursive or -r).
ss3 rm ss3://bucket-name/path/to/key.txt --recursive

Fail paths:

# WILL FAIL - Cannot delete a full folder without the `-r` flag.
ss3 rm ss3://bucket-name/path/to

# WILL FAIL - Cannot delete bucket (but with -r will work and delete all content of the bucket)
ss3 rm ss3://bucket-name

# WILL FAIL - Cannot delete buckets
ss3 rm ss3://

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.