unix - "head" command for aws s3 to view file contents -


on linux, use head/tail commands preview contents of file. helps in viewing part of file (to inspect format instance), rather open whole file.

in case of amazon s3, seems there ls, cp, mv etc. commands wanted know if possible view part of file without downloading entire file on local machine using cp/get.

you can specify byte range when retrieving data s3 first n bytes, last n bytes or in between. (this helpful since allows download files in parallel – just start multiple threads or processes, each of retrieves part of total file.)

i don't know of various cli tools support directly range retrieval want.

the aws cli tools ("aws s3 cp" precise) not allow range retrieval s3curl (http://aws.amazon.com/code/128) should trick.(so plain curl, e.g., using --range parameter have request signing on own.)


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -