@__thumb files - How do do I get rid of them?
-
- New here
- Posts: 7
- Joined: Sun Jan 27, 2008 7:53 pm
@__thumb files - How do do I get rid of them?
I'm being plagued by an ever-expanding number of files called @__thumb in my TS-109 directories. I vaguely remember reading somewhere that they are connected with, or generated by, the Qmultimedia display system, but how do I get rid of them? They're not visible in Windows Explorer....
-
- Know my way around
- Posts: 185
- Joined: Wed Jan 16, 2008 7:26 pm
- Location: Bussum
Re: @__thumb files - How do do I get rid of them?
you can delete them using the web filemanager
- TS-219, 4.1.2, English, 2x2TB HDDs (WDC WD20EADS-00R6B0 01.0), EXT4 JOBD, Joomla; MLDonkey; FTP; webserver; photoalbum; backup 2TB Western Digital USB frontside, 10/100 & 1500
- TS-119P+, 4.1.2, English, 1x2TB HDD (WDC WD20EURS-63Z9B1 80.0), EXT4, Joomla; MLDonkey; FTP; webserver; photoalbum; backup 2x1TB Samsung Story Plus eSata, 10/100 & 1500
[network environment: Firefox, 1xWin10 prerelease & 2xWin8.2, Asus RT-AC66U Router, 3x1G switches, 1xVU+Solo2, 1xPlayon!HD, 2xPlayon!HDmini, 1xNexus5, 1xNexus7 2013, 1xArchos101 G8 (droid2.2), 1xArchos101 G9 (droid Cyanogen 10.0), 4 droidsticks (MK809III&908II)
- TS-119P+, 4.1.2, English, 1x2TB HDD (WDC WD20EURS-63Z9B1 80.0), EXT4, Joomla; MLDonkey; FTP; webserver; photoalbum; backup 2x1TB Samsung Story Plus eSata, 10/100 & 1500
[network environment: Firefox, 1xWin10 prerelease & 2xWin8.2, Asus RT-AC66U Router, 3x1G switches, 1xVU+Solo2, 1xPlayon!HD, 2xPlayon!HDmini, 1xNexus5, 1xNexus7 2013, 1xArchos101 G8 (droid2.2), 1xArchos101 G9 (droid Cyanogen 10.0), 4 droidsticks (MK809III&908II)
-
- Experience counts
- Posts: 1787
- Joined: Sat Oct 13, 2007 2:21 am
- Location: Germany
Re: @__thumb files - How do do I get rid of them?
in those foolders are the thumbnails for the multimediastation. if you delete them they have to be recreated once anybody accesses your MultimediaStation.
but those thumbnails are also created every night (at 3 i think). they are only created for files located in the Qmultimedia folder. you will get as many thumbnails as you have pictures in the Qmultimedia folder.
but those thumbnails are also created every night (at 3 i think). they are only created for files located in the Qmultimedia folder. you will get as many thumbnails as you have pictures in the Qmultimedia folder.
TVS-1282 | Version 4.4.3 | 3x 12TB WDC WD121KRYZ RAID5
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
- gor
- Starting out
- Posts: 20
- Joined: Mon Aug 10, 2009 3:46 pm
Re: @__thumb files - How do do I get rid of them?
How can I delete all the folders directly (not one by one)?
Let say the Media Station is off but the junk files are still there.
Let say the Media Station is off but the junk files are still there.
-
- Experience counts
- Posts: 1787
- Joined: Sat Oct 13, 2007 2:21 am
- Location: Germany
Re: @__thumb files - How do do I get rid of them?
you can delete them but even if the mutimedia station is off they will be recreated every night.
in order to stop that you have to disable the imrall job in the crontab file.
in order to stop that you have to disable the imrall job in the crontab file.
TVS-1282 | Version 4.4.3 | 3x 12TB WDC WD121KRYZ RAID5
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
- gor
- Starting out
- Posts: 20
- Joined: Mon Aug 10, 2009 3:46 pm
Re: @__thumb files - How do do I get rid of them?
How can I do that?
How can I bulk delete them?
Thank you!
How can I bulk delete them?
Thank you!
-
- Experience counts
- Posts: 1787
- Joined: Sat Oct 13, 2007 2:21 am
- Location: Germany
Re: @__thumb files - How do do I get rid of them?
the easiest way to edit the crontab file is using WinSCP to login to your NAS via SSH (only admin can login) and then browse to /etc/config/ and then doubleclick the crontab file to edit it. once saved you need to restart the cron service for the changes to take effect. alternatively you can also restart the nas.
to stop the creation of the thumbnails you need to put a # at the verry beginning of the line that looks something like this:
the bulk deletition is bit tricky.
maybe someone else has a practical idea.
the esiest way that comes to my mind is copy the entire content of Qmultimedia to your PC using SMB (windows file shares). then delete the entire content of Qmultimedia and at last copy everyting back. this way the .@__thumb folders are not copied. but depending on the amount of data in your Qmultimedia folder this might take some time.
to stop the creation of the thumbnails you need to put a # at the verry beginning of the line that looks something like this:
Code: Select all
0 3 * * * /usr/local/sbin/ImR_all -soft /Qmultimedia
maybe someone else has a practical idea.
the esiest way that comes to my mind is copy the entire content of Qmultimedia to your PC using SMB (windows file shares). then delete the entire content of Qmultimedia and at last copy everyting back. this way the .@__thumb folders are not copied. but depending on the amount of data in your Qmultimedia folder this might take some time.
TVS-1282 | Version 4.4.3 | 3x 12TB WDC WD121KRYZ RAID5
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
- gor
- Starting out
- Posts: 20
- Joined: Mon Aug 10, 2009 3:46 pm
Re: @__thumb files - How do do I get rid of them?
Thank you for your support!
I made the change in crontab.
I still don't know how to delete all the junk folders...
I have more then 500 folders like .@__thumb and around 1.4TB of data files; It's hard to move them to PC and back on. (I have backups allready).
I tried with Total Commander and a SSH plugin but it didn't work like on local drives.
I made the change in crontab.
I still don't know how to delete all the junk folders...
I have more then 500 folders like .@__thumb and around 1.4TB of data files; It's hard to move them to PC and back on. (I have backups allready).
I tried with Total Commander and a SSH plugin but it didn't work like on local drives.
-
- Starting out
- Posts: 10
- Joined: Sun Apr 19, 2009 3:59 am
- Location: Lancashire, UK
Re: @__thumb files - How do do I get rid of them?
If using a Windows PC, the easiest way is to do a windows search for ".@__thumb" on a network share to your Qmultimedia folder, that will bring up a long list of its results, then just select all the results, and delete 

-
- First post
- Posts: 1
- Joined: Wed Jun 11, 2008 6:05 am
Re: @__thumb files - How do do I get rid of them?
Hi,
I have noticed the same thing. At first I thought it was the Multimedia Station, but even when I disabled it, they still appeared. Good to learn that it is the cron job that is creating them every night. I'm having trouble commenting out the ImR_all line in the crontab, though. I do crontab -e, and put the "#" in front of the line, then do Esc and :wq to save and exit. But the next time I look at the crontab (crontab -l) the comment isn't there anymore. Any hints?
Anyways, I wrote a Python script to remove all those pesky "@__thumbs" thumbnails under the current directory and all subdirectories. I was using this for my Photo collection, so my script also removes ".hightlight" files (what are those anyway?), Thumbs.db, and picasa.ini files, you can remove those lines if you don't care about those. It works for me, but as I'm not an official QNAP representative, USE AT YOUR OWN RISK!
- Log onto your QNAP machine (I use SSH)
- Navigate to the directory under which you want to delete all thumbnails
- Create a new file called rmthumbnails.py
- Copy and paste the following code into that file
- Run it!
That should do it!
Thanks!
I have noticed the same thing. At first I thought it was the Multimedia Station, but even when I disabled it, they still appeared. Good to learn that it is the cron job that is creating them every night. I'm having trouble commenting out the ImR_all line in the crontab, though. I do crontab -e, and put the "#" in front of the line, then do Esc and :wq to save and exit. But the next time I look at the crontab (crontab -l) the comment isn't there anymore. Any hints?
Anyways, I wrote a Python script to remove all those pesky "@__thumbs" thumbnails under the current directory and all subdirectories. I was using this for my Photo collection, so my script also removes ".hightlight" files (what are those anyway?), Thumbs.db, and picasa.ini files, you can remove those lines if you don't care about those. It works for me, but as I'm not an official QNAP representative, USE AT YOUR OWN RISK!
- Log onto your QNAP machine (I use SSH)
- Navigate to the directory under which you want to delete all thumbnails
- Create a new file called rmthumbnails.py
- Copy and paste the following code into that file
Code: Select all
import os, shutil
for root, dirs, files in os.walk('.', topdown=False):
print "Root: %s" % root
for dir in dirs:
if dir == '.@__thumb':
delpath = os.path.join(root, dir)
print "Removing %s" % delpath
shutil.rmtree(delpath)
for file in files:
if file == '.hightlight':
delpath = os.path.join(root, file)
print "Removing %s" % delpath
os.remove(delpath)
elif file == 'Picasa.ini':
delpath = os.path.join(root, file)
print "Removing %s" % delpath
os.remove(delpath)
elif file == 'Thumbs.db':
delpath = os.path.join(root, file)
print "Removing %s" % delpath
Code: Select all
#python rmthumbnails.py
Thanks!
-
- Experience counts
- Posts: 1787
- Joined: Sat Oct 13, 2007 2:21 am
- Location: Germany
Re: @__thumb files - How do do I get rid of them?
once you edited the crontab, make sure you save your changes and then you need to restart the cron service for the changes to take effect. to restart the cron service type the folowing:Then all your changes should take effect.
Code: Select all
/etc/init.d/crond.sh restart
TVS-1282 | Version 4.4.3 | 3x 12TB WDC WD121KRYZ RAID5
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
TS-639 Pro | Version 4.2.6 | 5x 3TB WDC WD30EFRX RAID5 as Backup
LianLi EX-50 with 3x 2TB SAMSUNG HD203WI + 2x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
LianLi EX-503 with 5x 2TB SAMSUNG HD204UI in RAID5 as Backup drive
- nexgen
- Starting out
- Posts: 29
- Joined: Mon May 17, 2010 3:00 pm
- Location: Denmark
Re: @__thumb files - How do do I get rid of them?
Works like a charm... Thank you so much.voxtreet wrote: [/code]
- Run it!That should do it!Code: Select all
#python rmthumbnails.py
Thanks!
**************************************************************
TS-853A [2xRAID5]
4x HGST Deskstar NAS - 4TB
4x WD Red Pro - 6TB
**************************************************************
TS-853A [2xRAID5]
4x HGST Deskstar NAS - 4TB
4x WD Red Pro - 6TB
**************************************************************
-
- Know my way around
- Posts: 104
- Joined: Mon Oct 22, 2007 12:24 am
- Location: KY, USA
Re: @__thumb files - How do do I get rid of them?
This is what worked well for me.
Code: Select all
find /share/Qmultimedia/music/ -type d -name .@__thumb -exec rm -r {} \;
Doug
TS-659 Pro+, 3.6.0 Build 0210
Drives: 2x Seagate ST31000524NS Raid 1 + 4 Seagate ST32000641AS JBOD
TS-659 Pro+, 3.6.0 Build 0210
Drives: 2x Seagate ST31000524NS Raid 1 + 4 Seagate ST32000641AS JBOD
- boschma1
- New here
- Posts: 8
- Joined: Mon Dec 14, 2009 12:58 pm
- Location: Basel, Switzerland
Re: @__thumb files - How do do I get rid of them?
@voxtreet: Thank you for the Python script! Worked like a charm - but I had to add the MAC OS X (._.DS_Store etc) stupidity files to be removed:
Code: Select all
import os, shutil
for root, dirs, files in os.walk('.', topdown=False):
print "Root: %s" % root
for dir in dirs:
if dir == '.@__thumb':
delpath = os.path.join(root, dir)
print "Removing %s" % delpath
shutil.rmtree(delpath)
for file in files:
if file == '.hightlight':
delpath = os.path.join(root, file)
print "Removing %s" % delpath
os.remove(delpath)
elif file == 'Picasa.ini':
delpath = os.path.join(root, file)
print "Removing %s" % delpath
os.remove(delpath)
elif file == 'Thumbs.db':
delpath = os.path.join(root, file)
print "Removing %s" % delpath
os.remove(delpath)
elif file == '.DS_Store':
delpath = os.path.join(root, file)
print "Removing %s" % delpath
os.remove(delpath)
elif file == '._.DS_Store':
delpath = os.path.join(root, file)
print "Removing %s" % delpath
os.remove(delpath)
- Xmantium
- Been there, done that
- Posts: 579
- Joined: Fri Sep 03, 2010 3:55 am
- Location: Manchester, England
Re: @__thumb files - How do do I get rid of them?
I cant get the script to work, im using WinSCP
I use the console to run the script with #python rmthumbnails.py
and then it says Host has not answered for than 15 seconds
Im logged in the correct directory with the rmthumbnails.py but doesnt work for me
I use the console to run the script with #python rmthumbnails.py
and then it says Host has not answered for than 15 seconds
Im logged in the correct directory with the rmthumbnails.py but doesnt work for me