For Online Computer Support, Ask a Computer Technician
Hi, thank you for contacting JustAnswer.com. My name is***** will do my best to provide the right answer to your question.
I think that, if the photos were all JPG or JPEG type, you could easily delete them by file type.
Would that sound like the right approach?
If so, let me know, and I will instruct you as to how to go about a fairly automated delete of just some file types, with complete safety to the other file types.
Go to your PC.
Open a Command Prompt window.
Do a CD command to get into the directory or folder where the photos are stored (if they are in several directories, then hopefully they all are in folders that branch off of a base folder, if so, do a CD command to that base folder.
OK so far? if any detail is puzzling, let me know. Or if you like, I can remote-control your PC while you watch, and step through the procedure for you, slowly and clearly.
That's different. Let me think about that for a minute...
How many folders are the photos in?
Well here's one way:
Do a search for
in the Search bar at the top of Google Drive. (Perhaps it goes into subfolders... if so, it may select photos from other folders than the ones you want it to ? are there any photo files you have anywhere on Google Drive in any context that you don't want to delete? if so, this search will find them also.)
Let me know if that finds all the photo files, at a glance, that you want to delete, and none (at a glance, again) that you don't want to delete. (If so, you may delete them all, having found them this way.)
Does that work?
(Pardon the delay in responding - in fact I took a nap for a bit to be honest.)
I was afraid that this technique would not be specific enough.
I don't know of any script or command-line command that would work with Google Drive.
(Though there may be such a thing.)
However, if you copied the Google Drive folders with photos in them to one folder (as sub-folders of that one folder) that had nothing else in it - a folder created specially for that purpose on your PC - then a command could delete just the photo-type files, quite easily and safely.
Is that or is that not an acceptable way to do this? if not I will seek a command or script type if there is one, that would work on Google Drive (but if that's how it is, tell me whether your Google Drive has other photo files in it that you do NOT want to delete.)
You would be copying folder FROM out of Google Drive on TO your computer.
It wouldn't take space on the Google Drive, that way.
OK. I'll look for a script or other method then.
Question: are the videos and photos of a given date range? or do they have a common name format? or just the photos have a common name format?
Open Google Drive.
Click on the empty search box at the top, once.
Click on the down-arrow at the right end of the Search box to open Advanced options.
Photos & Images
for Type at the top, then also enter
for the Item Name
and then click on Search.
See if that brings up a listing of just the image files that you want to delete, and no others.
If this answers your question, please rate my answer. A five-star rating would be appreciated!
If you need more info, or have any comments, use Reply To Expert to respond.
"Files in my non photo drive" ?
I was afraid some such issue might be involved, so I did not instruct you to delete from there.
Do you mean, there are other photo files on the Google Drive that you do not want to delete, that might also be named IMG_xxxxx.jpg, or the like ?
Looking at the listing found by the search I directed you to make, are there any examples, even one, of such files that you can spot on a minute or two's examination?
(I don't know whether the search found thousands, or dozens, or what quantity. If I speak inappropriately about the task, it's because I have no idea of overall sizes/numbers of files. How many files and folders are there in your Google Drive, total? ... if you don't know, there are ways to get those figures easily. Let me know, please. Thanks.)
Scroll down to the end of the Google Drive folders-and-files listing.
Hold down Ctrl key, hit A key, release both.
(To select all.)
Then click 'Preview' and you'll see (after a moment or two) the number of files (and folder?) at the bottom of the page.
What does that indicate?
Does a count of documents, a number, appear at the bottom of the page, once you have hit Preview?
Did you Select All first, and not switch to selecting only one document? that ought to produce a count of documents.
But this is badly sidetracked from the main intent of your question. You need to separate the image files you wish to delete, from the ones you do not wish to delete. It sounds as if, given that the file names of the to-delete images, and the file names of the to-save-and-not-delete documents are much the same (starting with IMG_ and going on), then there is no solution in any script that might be run either.
Can you think of any distinction that would separate out your to-save-and-not-delete JPG or image files, from the ones that are to-be-deleted?