News for hackers. Stuff that matters.
Re:Ask HN: What's the worst piece of software you use everyday? by jacekm on Saturday July 11, 2020 @03:01PM (#23804767)
It took me years to realise that GDrive searches by file content by default instead of file name and that I need to prefix my search term with 'title:' to be able to find what I want. Now I just use their API to list all files in the terminal and then I just pipe it to `grep`. This way I can search using regular expressions.
Re:Ask HN: What's the worst piece of software you use everyday? by vlahmot on Saturday July 11, 2020 @03:27PM (#23805051)
You probably just saved me a good 15min/week! Never knew you could toss “title:” in there.

Thank you!

Re:Ask HN: What's the worst piece of software you use everyday? by wasyl on Sunday July 12, 2020 @06:25AM (#23810338)
`source:domain` is also useful for organisations, when you want to search not only files that you've opened, but everything public or visible to you in the entire org (or at least that was the case ~a year ago)
Re:Ask HN: What's the worst piece of software you use everyday? by remus on Saturday July 11, 2020 @04:06PM (#23805436)
type: is another handy one if you know you're looking for a specific file type.
Re:Ask HN: What's the worst piece of software you use everyday? by itskwanyall on Saturday July 11, 2020 @05:41PM (#23806297)
Same for me, I only realised about 5 seconds ago
Re:Ask HN: What's the worst piece of software you use everyday? by zwayhowder on Saturday July 11, 2020 @03:29PM (#23805071)
TIL. Thank you!
Re:Ask HN: What's the worst piece of software you use everyday? by philipwhiuk on Saturday July 11, 2020 @08:52PM (#23807643)
wat