Skip to content

aspick/tempshelf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tempshelf

Tempshelf is archive file assets, upload specified s3 backet, and restore.

usage

compose

./tempshelf compose <manifest path>

restore

./tempshelf pull <manifest path>

manifest file

{
    "meta" : {
        "storage" : "s3",
        "bucket" : "(bucket-name)",
        "region" : "(bucket-region)",
        "token" : "(IAM-token)",
        "secret" : "(IAM-secret)",
        "prefix" : "(prefix of object key)"
    },
    "files" : [
        "NOTE: this section auto generated"
    ]
}

files structure

  • assets
    • manifest.json
    • asset1.jpeg
    • asset2.png
    • asset3/
      • asset4.txt
      • asset5.zip
    • .tmp/