Last active
April 9, 2020 19:37
-
-
Save wvdijk/8ddb9e024958332c18b15aee1120e1ac to your computer and use it in GitHub Desktop.
Bookmarklet to see recent files in Google Drive without your Google Photos Uploads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
let d = new Date(); | |
d.setDate(d.getDate() - 14); | |
let range = d.toISOString().slice(0,10); | |
let url = `https://drive.google.com/drive/search?q=title:-.jpg%20after:${range}`; | |
window.open(url); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you set up Google Photos to sync with Google Drive, your photo uploads tend to clutter up the Recent File view in Drive. This bookmarklet will show you all files opened within the last two weeks, filtering out jpg's. (You can set the date range by changing the number of days on line 3 - the default is 14.)