[BUG] Archive Manager filling up my HD with temp files...

Questions about applications and software
Forum rules
Before you post please read this

[BUG] Archive Manager filling up my HD with temp files...

Postby FrostyC on Mon Oct 26, 2009 4:50 pm

For some reason Archive Manager is leaving behind folders of cached archive files that I do not need. The folders are in my home folder & seem like they are named with some sort of order (eg .fr-m6r9oF, .fr-s5NAt1, .fr-yDNRcE, .fr-ZJ8Yp6). If I extract some large archives, you can see how this could quickly become a :shock:HUGE problem.

While I can just manually delete them, I would like to know why they are being left behind & how I can clear them automatically without having to drudge around in hidden files...

Also, I am running Mint 6 Felicia
Last edited by FrostyC on Tue Oct 27, 2009 2:30 pm, edited 1 time in total.
User avatar
FrostyC
Level 1
Level 1
 
Posts: 29
Joined: Tue Jun 16, 2009 1:50 pm

Linux Mint is funded by ads and donations.
 

Re: Archive Manager filling up my HD with temp files...

Postby optimize me on Tue Oct 27, 2009 12:22 am

Where are you finding those files? In your home dir? Somewhere else?

It's been a while since I had to use it so I could be wrong, but aren't .fr-XXXX files from PhotoRec? Have you tried to recover any deleted files lately?
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Archive Manager filling up my HD with temp files...

Postby aehjr1 on Tue Oct 27, 2009 2:29 am

If, after you know what creates them, you want to cron a script to delete them, you can always do that. Or, you could run it each time you boot.

The best way to remove files matching some pattern is the "find" command, which can not only find files but process those which are found. You can add attributes used to find files to limit by: file name/name-pattern, time-stamp and size. An example would be:

Code: Select all
find /home/frosty -name 'fr-*' -mtime +3 -size 100k -exec rm {} \;


The above would find files under /home/frosty with file name starting with "fr-", last updated 3 days ago, size at least 100Kb; the find then executes the "rm" command on each file it finds (that's the reason for the "{}"). The final "\;" is required when using the -exec option.

I have no doubt a search of the forum will show a lot about setting up cron entries if you need help.

HTH
aehjr1
Level 2
Level 2
 
Posts: 54
Joined: Tue Sep 01, 2009 2:14 am

Re: Archive Manager filling up my HD with temp files...

Postby DrHu on Tue Oct 27, 2009 7:02 am

User avatar
DrHu
Level 16
Level 16
 
Posts: 6287
Joined: Wed Jun 17, 2009 8:20 pm

Re: Archive Manager filling up my HD with temp files...

Postby FrostyC on Tue Oct 27, 2009 2:27 pm

AH! I figured out what caused it! File-roller is the underlying app behind "Archive Manager". Doing a 'Force Quit' or XKill on the app causes this. Hence the ".fr-" prefix -- FILE ROLLER. This is a bug in File Roller. It doesn't put it's temp files in the /tmp directory for some reason! So they just sit in hidden folders in the home directory instead of getting flushed on reboot.

Apparently I'm not the only one who has had this problem.
https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/245716
https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/146206
https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/90328
http://help.lockergnome.com/linux/Temporary-files-directory--ftopict483430.html


And I've put a comment HERE to hopefully get it fixed.

It would be awesome if others would comment & tell them to use /tmp instead of the home directory!
User avatar
FrostyC
Level 1
Level 1
 
Posts: 29
Joined: Tue Jun 16, 2009 1:50 pm


Return to Software & Applications

Who is online

Users browsing this forum: bryanscott, rollon and 20 guests