Solved! Deleting .json files at one go!

Status
Not open for further replies.

Liberbliss

Prominent
Mar 3, 2020
7
1
515
0
How do I delete these JSON files from all the folders without having to actually go into every folder and selecting them to delete?
I am running iMac 21" 2019. Yesterday I used Google Takeout and got my photos downloaded to my Downloads Folder.
There is about 400 GB worth of jpg and a daunting 300K JSON files.
I would like to delete .json files at one go using the Terminal.
Thanks!
 

CParsons

Prominent
Staff member
Dec 4, 2019
44
11
585
0
You can do this with a basic search of the folder. Go to the folder and in the search type .json, you will be presented with options 'Search This Mac' or the given folder. Just search the folder. Once it finds all the .json files, highlight and delete them.
 
Reactions: Liberbliss

Liberbliss

Prominent
Mar 3, 2020
7
1
515
0
You can do this with a basic search of the folder. Go to the folder and in the search type .json, you will be presented with options 'Search This Mac' or the given folder. Just search the folder. Once it finds all the .json files, highlight and delete them.
Though belated, thanks to you for coming up with a solution! The same method of deleting .json files was noticed in some other Forum some two months back. My problem is resolved now.
 
Reactions: CParsons
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
K MacBooks 3
L MacBooks 0
R MacBooks 0
R MacBooks 0
R MacBooks 0
R MacBooks 0
Z MacBooks 2
Astralv MacBooks 9
R MacBooks 0
W MacBooks 1
S MacBooks 3
B MacBooks 1
S MacBooks 0
S MacBooks 0
C MacBooks 1
J MacBooks 2
D MacBooks 4
M MacBooks 1
R MacBooks 2
Klosteral MacBooks 5

ASK THE COMMUNITY