s3-browser icon indicating copy to clipboard operation
s3-browser copied to clipboard

grep-like functionality

Open giftig opened this issue 2 years ago • 0 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.

giftig avatar Feb 17 '23 18:02 giftig