Question
Is there a way to grep through the text documents stored in Google Cloud Storage?
Background
I am storing over 10 thousand documents (txt file) on a VM and is using up space. And before it reaches the limit I want to move the documents to an alternative location. Currently, I am considering to move to Google Cloud Storage on GCP.
Issues
I sometimes need to grep the documents with specific keywords. I was wondering if there is any way I can grep through the documents uploaded on Google Cloud Storage? I checked the gsutil docs, but it seems ls,cp,mv,rm is supported but I dont see grep.
gsutil cat
and it works if i don't have much files on Google Cloud Storage (GCP). Although, when considering scalabilitygsutil cat
is definitely not best. Let me check the performance of grep on the small vm as suggested. Thank you again!!! – Attorneyatlaw