.ld directory is huge over 300gb

Joined
Oct 9, 2011
Messages
4
Reaction score
0
Points
1
After a while my time machine keeps coming up saying not enough space.
So today I decided to look into it.
Using disk inventory I have found that under User/dave there is a .LD directory.
Within this is a sub directory called $LOGS$ and this is 302GB in size.
Now wonder I'm running out of room.

Can someone advise whether this can be removed or why it is so large?
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
I have no such directory under my user name or anywhere else. Did you try to look at what's in the sub directory $LOGS$? I can't imagine any program creating logs that size.

I would go ahead and remove it. Since you have Time Machine backups, if it turns out to be something you need (which I doubt) you can always restore it.
Also, I would try to find out what created it in the first place. Removing it may not solve the problem if you have some program running that's creating all those log entires.
 
OP
M
Joined
Oct 9, 2011
Messages
4
Reaction score
0
Points
1
F I try to find that directory normally I cannot see it either.
I presume it's hidden but under the disk tool it always shows up
 

bobtomay

,
Retired Staff
Joined
Dec 22, 2006
Messages
26,561
Reaction score
677
Points
113
Location
Texas, where else?
Your Mac's Specs
15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
I'm sure chscag would have looked at hidden folders - the . in front of the name tells you it's a hidden file or folder.

There is no such folder here on any of my Macs and was unable to find any info about such a directory through some time spent searching google either.

I'd try what he suggested and just move that 300GB file to the trash and see what happens. Perhaps spend some time watching that location before and after opening non-Apple apps to try and determine which one is using it.
 
OP
M
Joined
Oct 9, 2011
Messages
4
Reaction score
0
Points
1
Thanks for your replies.
I didnt realise the . in front meant it was hidden.
What program can I use to view the file within the hidden folder and erase them?

Looking at the directory from within disk inventory I can see a large zip file, a log2.txt files and loads of files that are 40.0mb in size with names like 129624458091890180
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
I use a Unix file manager program called "muCommander" which shows hidden files, folders, and likewise system files and folders. "muCommander" is free and can be downloaded from here.

Looking at the directory from within disk inventory I can see a large zip file, a log2.txt files and loads of files that are 40.0mb in size with names like 129624458091890180

Something is or was creating large temporary files. You're going to need to do some detective work to find out what's going on.
 
Joined
Nov 26, 2011
Messages
1
Reaction score
0
Points
1
Follow up on the .ld folder

Hi,

I'm new to the forum and to the Mac world, but I'm loving the switch more and more everyday! Your problem seems similar to the one I'm having as well. Could the .ld file be from LiveDrive? Do you use the cloud based storage service? I noticed problems with hard drive space after I tried transferring stuff from my external drive to the cloud. What happened when you deleted the folder? Did it cause any problems?

Thx in advance,
Skullshoes
 
Joined
May 11, 2012
Messages
1
Reaction score
0
Points
1
LiveDrive cache folder

Hi,

I'm new to the forum and to the Mac world, but I'm loving the switch more and more everyday! Your problem seems similar to the one I'm having as well. Could the .ld file be from LiveDrive? Do you use the cloud based storage service? I noticed problems with hard drive space after I tried transferring stuff from my external drive to the cloud. What happened when you deleted the folder? Did it cause any problems?

Thx in advance,
Skullshoes

Skullshoes is correct:: the hidden .LD directory on the macintosh is used by LiveDrive as a cache folder - I would check with LiveDrive before removing this - it may affect the way your stuff is backed up to LiveDrive, although I agree it should not be 320GB - are you sure that's correct? It may be that installing a newer version of LiveDrive will clean this up a little. If not, check with LiveDrive support to see what they recommend before deleting this directory and it's contents.

To view this directory and it's contents you can simply open a terminal session, navigate to your Users\username directory and type 'ls -la' this will list all directories including hidden. Then cd .LD and this will change directory to the .LD directory, you can then ls to see what's in there. I took a look at one of the largest files in one of the directories $LDMAP$ the data.dat file -- 'cat data.dat' and although it's difficult to see much of any use in there, I do see the occasional filename of files which have been backed up to LiveDrive.

This is from the LiveDrive web site, and refers to that directory for removal of of the LD application::

How do I uninstall Livedrive for Mac?
Currently we don't have an uninstaller. This will be addressed. If you wish to completely remove Livedrive for Mac remove all files from the following locations (an administrator password will be required for some items).
/Library/Application Support/Livedrive/
/Applications/Livedrive Client.app
~/Library/Preferences/com.livedrive.livedriveapp.plist
Cache Directory (contains your cached Livedrive files) The following are the default locations for the cached directory (you can configure a different cache directory during the welcome/setup process and with options -> online files).
1.0.26.4 ~/Library/Caches/Livedrive/~LD
1.0.26.31+ ~/.LD

hope this helps.

roymondo :D
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top