aMule Forum

English => Multiplatform => Mac OSX => Topic started by: IanInBCN on October 04, 2005, 09:28:06 AM

Title: temp files not deleting when deleted
Post by: IanInBCN on October 04, 2005, 09:28:06 AM
hi all (thanks for previous help, all sorted out)

I'e been downloading multiple copies of the same files, then deleting the unfinished ones when I got a good finished version...
lo and behold, I find my hard disk perillously full...
I go into my .amule/temp folder thingy, and find it has NOT been pitching the files out. I had more than 200 files in the folder and some 70 in my amule downloading list window pane.


What do I do to keep things tidy? when I cancel it asks do you want to delete and I say yes, but they seem to just be hanging around.
Unfortunately the names of the temp files don't tell you whih file it is, so I'm trepidatious abot just going in and pitching stuff manually (though I did chuck a few that were obvious due to file size)


is this a bug to report?
advice?

thanks


Ian
Title: Re: temp files not deleting when deleted
Post by: samson on October 04, 2005, 01:12:18 PM
how did you delete your downloads? from aMule (right-clicking on names)?

each download has 3 temporary files:
- met-file -- with information of file
- backup of met-file
- part-file -- temporary file
Title: Re: temp files not deleting when deleted
Post by: ken on October 05, 2005, 05:21:47 AM
Ian, approximately 200 files for 70 downloads is about right.  As samson said, each download has at least 3 files in the Temp directory associated with it.

Note that when you have a download in progress, it can consume its full file size even if only a few bytes have been transferred.  If those few bytes reside toward the end of the file, then that's where they are written -- and the file consumes its full size even though it is largely incomplete.  Some file systems support "sparse" files, in which data can be written at the end without necessarily consuming the intervening space, but the Mac's file system doesn't.

So, you have to be careful not to start downloads whose total cumulative size exceeds your spare disk space.

I haven't had any problems with aMule failing to delete the Temp files for downloads I cancel.

In the Terminal, you can use the "strings" command to find out the file name of the download associated with an XXX.part.met file.  Do this:

cd ~/.aMule/Temp
strings 001.part.met

And it will dump all the strings found in the file 001.part.met.  Repeat the "strings" command with different .part.met files to learn about them.  All files which start with the save number sequence belong together.  So, 123.part.met, 123.part.met.bak, 123.part and any other files starting with "123" all go with the same download.
Title: thanks
Post by: IanInBCN on October 05, 2005, 08:46:02 AM
ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
now I get it

Thnks for that, blessings on your house

Ian