giftig / s3-browser

An interactive tool to browse s3 like a regular directory structure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grep-like functionality

giftig opened this issue · comments

Being able to search through an S3 file while in the s3-browser cli would be beneficial in some cases. To stick with the unix-like interface it'd be nice to make this a grep command. This could either be stripped-down functionality like simply supporting fgrep [literal text] [key] / grep [regex] [key] or could simply use grep itself to filter the contents (where available)

Either way it should perform a binary check first by using utils.print_object like the cat command currently does.