When I need to delete a file, is there a way to automatically delete its thumbnails?
I know I can delete all thumbnails in the ~/.cache/thumbnails folder,
but what I want is to automatically delete the corresponding thumbnail every time the original file is deleted.
Is there any setting or tool that supports this?
Please help me, thank you in advance.
Deleting thumbnails after deleting files
-
- Posts: 2
- Joined: Thu Apr 24, 2025 8:13 am
Re: Deleting thumbnails after deleting files
Linux system does not automatically delete thumbnails when the original file is deletedGeometry Vibes.
-
- Posts: 1
- Joined: Fri Jun 06, 2025 8:31 am
Re: Deleting thumbnails after deleting files
Hi DarrinRSimpson, have you tried deleting and reinstalling???wrote: ↑Thu Apr 24, 2025 8:16 am Block Blast Unblocked wrote: ↑
When I need to delete a file, is there a way to automatically delete its thumbnails?
I know I can delete all thumbnails in the ~/.cache/thumbnails folder,
but what I want is to automatically delete the corresponding thumbnail every time the original file is deleted.
Is there any setting or tool that supports this?
Please help me, thank you in advance.
-
- Posts: 3
- Joined: Thu Mar 13, 2025 5:45 am
Re: Deleting thumbnails after deleting files
You need to know that when a thumbnail is generated, its filename is usually a hash (like MD5) of the URI (path) of the original file. Once generated, the thumbnail service does not actively "keep track" of the existence of the original file. It is assumed that the thumbnail may stay in the cache until it is manually deleted or replaced. So what you want is not possiblegoogle doodle baseball wrote
When I need to delete a file, is there a way to automatically delete its thumbnails?
I know I can delete all thumbnails in the ~/.cache/thumbnails folder,
but what I want is to automatically delete the corresponding thumbnail every time the original file is deleted.
Is there any setting or tool that supports this?
Please help me, thank you in advance.