Google Photo Backup Preventer

by Caleb “ZovNart” Cole

Version 2 (May 26, 2025)

Download (5 downloads)

Moves photos and videos taken from the default camera app to a folder that is either backed up to Google Photos or not. After you take some pictures or videos, and you close the camera app, you will be asked if you want to backup the files to Google Photos or not. You will need to set the backup preferences inside of Google Photos to work with this script.

Does not require premium. Only 15 blocks after you run it the first time.

There are two separate strings in this flow. When you start it up, you will be asked if you want to create the folders or run the main script. If you run the create folder script, the main script will start running immediately after folder creation. The folders that will be created are as follows:
-Pictures/automate temp
-Pictures/Backup
-Pictures/No Backup
It is recommended to delete the folder creation section if the folders have already been created by the script. This makes it so you don't have to select which script to run every time you start it.

The first folder is a temporary storage location so you can take multiple pictures or videos before closing the camera app. Due to the way this script works, photos and videos are immediately moved after being taken. This is so Google never gets to see what you capture. A side effect from this is that the normal button for viewing what you just took inside of the camera app will not function properly.

All folders will need to have preferences set up inside of the Google Photos app.

*Any existing pictures or videos inside of your camera/picture folders will not be checked by this script.
*This script is set up for the default pixel camera. If you have a different camera app, you will need to change which app package is checked in the script.

Known Bugs:
-Only recording 20 seconds of video.
This script looks for any files that get put into your pictures folder and moves them as fast as it can. This does cause an issue with recording videos. On my phone, I am able to record about 20 seconds of video before it is forced to stop. The workaround for this is to stop the script if you're going to record a video. If you then start the script and take a picture, you will be able to either backup or not backup the video and picture the same as before.