Invisible Library file

I was archiving some old images, bringing them into a new Aperture Library. I had created the library on an external drive, but apparently it still thought it was on my internal drive. After a few hours of work, Aperture gave a warning that it was out of drive space which seemed weird. That's when I discovered it was recording the files to the main internal drive - into an invisible library file...
This file DOES NOT SHOW in any searches for file name, extension, or modified dates. So now I'm out of hard drive space on this laptop with an invisible 40+GB file someplace on this machine.
How do I find and delete this invisible file???
I posted this in the Aperture forum as well, but thought it would be work opening up my question to a larger audience. Maybe someone can tell me how to locate and delete this library through the terminal.

You need to become root for that. NetInfo Manager in your utilities folder, Security menu, enable root user. You need to pick a password.
Then from the terminal
ssh root@localhost
enter the password
Now you are root user
Now...
du -h -d1 /
searches root
or
du -h -d1 /Applications/
searches applications
or
du -h -d1 /Applications/Utilities/
searches Utilities
You get the idea.
The -d is the level deep. If you type -d2 it will also hit subdirectories in the 1st folder. -d3 goes even deeper, etc. etc. du -h -d1000 / will find every file and will take five minutes and give you a massive file.
du -h -d1 / > /Users/Documents/resultfile
will put the results into a file named resultsfile in your Documents folder. If you do that as root you will have to log into your computer as root to read it unless you know how to change ownership on the file.
Get this- In the terminal you can drag any folder you want to search into the terminal window and it will put the path in there for you. so...
du -h -d1 drag-the-folder-here
Just don't get funky as root, because you can do some damage. Stick to the commands I gave you. Hold the delete key if you aren't sure to erase the line.
You will be fine, go forth and phosphor.

Similar Messages

  • How can I delete a file from an invisible Library folder on a backup

    Somehow, when installing RealPlayer I managed to get something called RealNetwork (a Folder full of files) installed in my User Library. It was 395.62 GB so must have been some sort of malware. I was able to find it and delete it from my hard drive. BUT I had backed up my hard drive to a non-bootable backup the day before so that file is still in the invisible Library folder on that drive, taking up almost 400 GB there, too.
    Does anyone know how to delete it from the backup drive since I can't boot that drive?
    I'm using Mavericks 10.9 on a MacBookPro with a 2T Seagate backup drive.

    Here's what I just did. I went to the Go menu and pressed Recent Folders, and in the command box typed a path that should have taken me to the backup drive user library folder, and it did. So thank you. I managed to figure out from what you said, something to do, though I still struggle with the techno-babble. It seems the folder that was 395.62 GB that should have been backed up to this drive is not that size on the backup, but only 28.88 GB. I deleted it anyway.
    So, now I'm back to figuring out what just ate up so much of my backup drive so suddenly, and in about the same amount as removed from my internal drive. I still suspect I'll find that folder somewhere.

  • .xml file and iTunes library files are missing from the music folder

    I recently made a second itunes library on my external hd, today when I open itunes and choose this library, the .xml file and itunes music file are invisible or translucent, therefore I can't open my library. But when I go to my music folder they are missing. Another odd thing is that all my music is still in the folder. Is there a way to re-open my library w/o re-importing all my music? Can I some how get a new itunes library file?
      Mac OS X (10.4.10)  

    This is not an answer but I have the same problem. From time to time I clone my music drive to an external drive for back up. When I do, I burn a copy of the album artwork folder, iTunes Music folder, iTunes Library.itl, iTunes Music Libraru.xml, and iTunes Library file to CDRW. This is so I can copy them into the music folder in my user home drive of my laptop then hook up the external and have access my library. Trouble is the .xml file and iTunes library files don't always show up when I go to the iTunes folder in my Music folder. There either is a blank where they should be or the names appear with no icon and when I click to select, that dissappers too. I thought I had a solve by exiting iTunes and letting it save everything. It seems to bring the .xml file back but not the itunes Library file. Any thoughts?

  • HOW CAN I USE ONE OF MY "PREVIOUS ITUNES LIBRARY" FILES?!

    Sorry about the caps lock. I searched for thsi question and got like 10 good results, none of which had answers. iTunes asked me to choose a pervious iTunes library before, but how do I do it now?!

    you can hold shift when starting iTunes to force it to ask you to create a new or select an existing library file.

  • HT1391 I have accidantally created anoth iTunes library file and ripped a lot of music in it. Than I discovered that this music was not arrived in one library file. Know I would like to merge all my music in one library file but don't see which library is

    Hi,
    Regarding my Itunes library:
    I'll try to explain my situation  (sorry for my english).
    I have a networkdrive where all my music is stored on. Itunes is installed on my macbook and I entered the network drive as my media file location. 
    I use my macbook to rip music and buy itunes music assuming it will all be placed in the media folder that I once entered.
    Recently I found out that itunes had changed the location of my media folder to the local drive.
    Since a time now (I can't exactly say when) I'm ripping many of my music collection to itunes.
    Today i discovered the change of my media file location by itunes after I ripped some collections. When clicking the info button on some of the ripped files I see that they are not stored on my networkdrive, very normal, since the location of the media file is changed to local computer.
    When I look in the finder I can find a local libray file (xml file) from 13 april and also one on my network drive but the date is from March. So this one is even older.
    I suppose that the libray file is updated each time I add a song in itunes. So there must be anonther library file somewhere?
    Is there a way to see which libarary file is used in itunes? I know you can start Itunes with the option key to select another library file but is it also possible to view in itunes which library file is used so I can consult the path of the library file in use?
    What should i do to put all the local music to to my network drive and update the correct library to the new location of these files?
    Why is there no alert when Itunes changes the location of the media files path?
    Thanks

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • I have multiple libraries on an external drive. Somehow all the iTunes library files i.e. iTunes Library.itl, xml, itdb, Media folder, etc disappeared! Only the music files remain. Now when I start iTunes w/option it can't find any of the old libraries!

    Help! I 'm using an old G4 powerbook, Mac OSX 10.5.8, iTunes ver 10. I have multiple iTunes libraries on an external drive. Everything was fine for a while, then all of the iTunes library files, i.e. iTunes Library.itl, xml, itdb, artwork folder, Media folder, etc mysteriously disappeared! Only the music files remain (thank god) So now when I start iTunes w/option key to choose a library, I can't choose any of them because iTunes won't recognize them. Because all the library stuff is missing. So can I re-create the library files? (I don't care if I lose my ratings)
    Or should I create a new empty library on the external drive, then manually move all the music files to the Media folder in the new library?
    I tried some stupid ideas like creating a new library just to start iTunes, then going into prefs and advanced, then under iTunes Media folder location, selecting the location of the old library on the external, to see if iTunes would then find all the music which is still there, but no workee.
    I'm out of ideas, and I searched the archives.
    Help! anyone?
    Scott

    I don't know if this is me adding files to iTunes when the external wasn't connected
    it is.
    is it OK to just keep deleting that library on the Air?
    i wouldn't - at least not until i
    mount the external
    point iTunes media folder location back to the external via preferences > advanced
    consolidate my library via file > library > organize library
    The ntfs hasn't seem to be causing any problems, but I've always wanted to know.
    in order for your Mac to write to NTFS drives, it needs some help by installing e.g. the NTFS 3G driver. apparently that or something similar is installed on your Mac already. preferably, it would be formatted for Mac but then windows machines would need to have e.g. MacDrive installed to recognize the drive.

  • Can't back up Library file

    Hi All,
    Problem: I'm trying to create a backup of my Aperture Library file by simply doing a drag copy of it to an external drive. I get about 2/3 of the way done, when the copy process stops and I get an error that the process has stopped, due to a corrupt file. I get the same result copying to my internal back up, external back up and even doing a file copy on the same drive. I've now done the consistency check and rebuild the database, but there were no errors, so I'm assuming that I will get the same result as before. I'm trying the copy again any way, just to check. If this doesn't work, I see two next steps.
    1. Open the contents of the Library file, try the drag copy again. With the contents exposed, I think I may be able to find the offending file and get rid of it. I know this is dangerous, to muck around in the Library like this, will this work?
    2. Export my library, project by project, then rebuild (import) on to the new drive.
    I guess my third option is to just trust that the Vault will work, but after my last experience, I wanted to look at all options.
    Thanks.
    Background: I have had a bad run with hard drives lately and just after recovering from having a Samsung 1TB die (lots of hours to restore everything), I had my new WD Caviar Black 2TB start to act funny, with corrupt file issues etc. Here's my config, Mac Pro Quad G5, Mac OS 10.5.8 and Aperture 2.1.4. My current back up plan has been simply drag copies of my data to both an internal and external drives on a regular basis. Simple, yes but it has served me well until this latest bout of hard drive problems.
    My short term plan is to get two new 2TB drives to raid in my system, with my external 2TB as a clone of my drive. That should hold me over, till my sales pick up and I can spend my savings on a new Intel Mac Pro with new OS and Aperture 3.
    My current problem is getting fully updated copied of everything backed up. I've had some corrupt file issues, which stops the copy process and makes me hunt for the offending file. All that's done, except my Aperture Library. Yes, I have multiple copies of my Vault file, but in the process of rebuilding the last time, I learned that the Vault doesn't keep thumbnails and previews. I got uneasy about this process, when it took forever to rebuild thumbs and previews. It didn't seem like it was working, when I realized I had a copy of my Aperture Library, so I copied it over and everything was cool.

    A few thoughts. First when you do the drag of the library file is Aperture closed? Don't know for sure if it would make a difference but it's probably a good thing to do.
    Second have you done a disk verify of the volume your Aperture library is on? I would suggest you run disk utility and do a disk verify on this volume just to rule out the possibility of a bad sector.
    Finally I would really advise against going into the Aperture library and mucking about unless you have a definite know good backup of the library. You could select all your projects at once and then export them all in one operation as a new library directly onto the external drive. The you could just open this new library in Aperture, no need to import anything.

  • Syncing iPhone to new iTunes w/o iTunes library file

    My MBP's hard drive died and I got it replaced, so it's good as new - everything was clean, iTunes was empty, etc. I'm filling up the computer again, and I realised that I backed up all my music (the mp3 files/iTunes media folder), but I stupidly forgot to back up the iTunes library file.
    So I have my iTunes filled with songs but no play count, playlists etc. All the playlists and information, however, still exist in my iPhone 4, which I haven't synced to my new laptop yet.
    I'm preeetty sure because of my ****-up with not saving the library file, there's no way, but I still have to ask: is there any way to sync the song data and playlists from the iPhone back into iTunes? It's not the end of the world if I can't, but I built up all the playcounts, playlists, mixtapes over the past few years and I'm a little sad to lose them.

    " This iphone already has content on it but I want to add songs from my old computer."
    You cannot do this.  You can have content from one and only one computer at a time on the iphone.
    Have you tried restoring the iphone?

  • How to delete multiple old ITUNES LIBRARY files safely ?

    I'd like to clean up my Itunes LIBRARY files, but don't know what's safe to do and not to do. (I have Itunes 8.1 / OSX10.4.11)
    MY QUESTION IS TWOFOLD :
    (1) how do I create a new Itunes library file now with today's date; and
    (2) how do I delete multiple (old) Itunes library files, without risking the loss of what I've got ?
    This all stems from exploring Itunes as a result of a problem I had today... when trying to import mp3's from my terrabyte drive, after about 150 successful mp3 track imports, Itunes froze and everything else on my MAC froze as well (constant spinning colored wheel). After many failed attempts to force quit Itunes, I turned off my MBPro. On restarting, Itunes tooks ages to "import" files. Eventually Itunes opened but with only half of my original tunes (1500+ songs 8.11GB) and had nothing from today's import.
    I found a post suggesting to hold down OPTION while starting Itunes. Then I selected a file from my hard drive > me > music > Itunes > "Itune library" with the most recent date and shezam, Itunes once again has all my songs, as before. Nothing I imported from the terrabyte drive today appears however, but no matter.
    In my "Itunes" file there appear MULTIPLE Itunes libraries ! such as Itunes library, Itunes Library (damaged), and as well a folder called "Previous Itunes Libraries" which itself contains multiple Itunes Library files and multiple "previous Itunes Library files" with dates back to 2007. These I want to clean up and delete .... should I ? ... Can I ?
    I really could use some words of wisdom from the wise ! Thanks in advance

    Whenever you install a new version of iTunes and run it teh first time, iTunes will create a backup of the current iTunes library file and copy it into \Music\iTunes\Previous iTunes libraries, then update the iTunes library file in \Music\iTunes\ for the current version of iTunes.

  • ITunes won't recognize "library files" of  playlists and ratings

    After a Restore and putting iTunes onto an external hard drive, I can't get iTunes to recognize the library files that have my playlists and ratings.
    How do you get the library files (itl and xml) to be recognized after moving all your music and iTunes to an external hard drive?
    I just did a Restore on my iPod. Just before that, I had backed up my iTunes folder to an external hard drive and bought a new laptop. After I did the Restore, I was able to iTunes to recognize that my library is now on the external hard drive (to free up space on my laptop). The Apple Genius told me I could get the existing library files to work by just moving them into my iTunes folder on the external hard drive.
    But iTunes doesn't recognize that I have any playlists, etc.

    I think the library database files have to be in your "My Music" folder under the folder "itunes". I have not found a way of changing this. The music library can be elsewhere, but you need to have itunes do the move to keep the library database files in sync.

  • Trying to back up iPad to external hard drive, "iTunes library file cannot be saved. The disk you are attempting to use is full."

    This issue is somewhat complex so I will try to explain it as clearly as I can. Any help will be greatly appreciated.
    It all began when I kept getting popups from my iPad saying that I had not backed up since May. I realized that was pretty dangerous so I decided to finally try syncing it to iTunes, though I had avoided doing so for so long because I knew that when I tried there was no room on the computer. I then remembered that I have an external hard drive with plenty of storage space, so I got that out and set it up with a folder to move iTunes and the backup into.
    On iTunes I went to the Advanced Preferences and changed iTunes Media Folder Location to the G: folder, with the keep organized box checked. I also copied the previous backups from the original C: drive to G: so that I could delete the ones on C:.
    I used Junction Link Magic to link my now empty MobileSync backup on C: to a new (JLM would not work unless it was empty) backup folder on external hard drive G:.
    I plugged in my iPad to iTunes to sync it, and while it was backing up I checked the new folder on G: to make sure that the backup was being put there. It was.
    However, about halfway through I got the message "iTunes library file cannot be saved. The disk you are attempting to use is full."
    My question is Why? If it is being made in a 1.5 terabyte hard drive now, and not the computer, why is there no disk space? My guess is that it must still somehow be saving to the computer. But how? And how can I get it to save solely on the G: drive where there is enough room?
    I am running Windows XP and the latest version of iTunes.
    An additional but not as crucial issue:
    Much of my music has been lost, with the being displayed next to the songs in the iTunes library, and only 50 (purchased) songs remain on my iPad. This was because those missing songs were stored on a different external hard drive ( I:). However, I copied many of the music folders on I: over to G: so that everything could be together. I am wondering if it is possible for me to get these songs back onto my iPad. But this is not my most important issue right now, because I believe that once I get the first issue solved I can simply plug in I: and G: at the same time while syncing the iPad, and get the songs back.
    Note: I have come to realize the iTunes program itself is still under Program Files in the C: drive. Does this have to do with anything?

    Short term, free up some disk space. Long term, move the library to a bigger drive.
    tt2

  • Library files keep appearing on the Desktop!!!!

    Hello
    For some weird reason the iTunes Library (Damaged),iTunes Library (Damaged) Extras, itunes music & Album Artwork keeps appearing in my desktop :/ I deleted them but whenever I open itunes they appear again!! I went to preference >> advance and chose the original path for the folders and still it doesn't change.. (User>Music>itunes>itunes music)
    I re-install itunes and nothing change, please I need help I'm desperate..
    another Q why it's titled "iTunes Library (Damaged)" and how can I fix it?!
    Thank you

    Double check to see that the ‘iTunes Library.itl’ file or the folder it resides in (the ‘iTunes’ folder) is not read-only.
    First, see this Article for some background information: What are the iTunes Library files?
    Using Windows Explorer, right-click on the file (or folder) name, go to Properties.
    If it is read-only, then close iTunes, change it, and reopen iTunes.
    Now (going forwards), any changes you make to the Library should be retained (i.e. – rebuilding).
    For Vista users, How to Take Ownership and Grant Permissions in Windows Vista may offer some help. Give yourself ownership and full control of the main iTunes folder and all its subfolders.
    If you are running a Sony Vaio PC, then This Thread may offer some insight.
    Best of Luck

  • Issue while loading the library files(".so" or ".sl") using JNI

    Hi,
    We are loading the c library files using system.load during the init phase of servlet.
    While loading the application for the first time everything goes smooth and application behaves as expected.
    We are facing the below issue when we try restarting the application through admin console in case of WAS (web sphere) for any patch deployment in the application.
    java.lang.UnsatisfiedLinkError: Native Library /users/test1/siva/jnilib.so already loaded in another classloader.
    If we restart the complete WAS every thing works fine.
    There is no specific System.unload function available in java to remove the loaded library in JVM.
    Is there any alternate way to unload the library which is loaded in class loader to resolve this issue which can be called in the destroy phase of servlet?
    Any help here is highly apreciated.
    TIA,
    Siva.

    sivabalan wrote:
    Hi,
    We are loading the c library files using system.load during the init phase of servlet.
    You mean a shared library, not C files (which would be source.)
    However I am not sure that loading it in a servlet is a good idea. But that is a different issue.
    Is there any alternate way to unload the library which is loaded in class loader to resolve this issue which can be called in the destroy phase of servlet?This is how it works on the Sun VM back to about 1.2. And as far as I know there is no other way for it to work on any other VM.
    You have a class with native methods that relies on the shared library. The class and the shared library are loaded into a class loader. If the class loader is unloaded by the GC then the native library will be unloaded as well.
    A class loader can be collected by the GC if if the classes loaded by it are no longer actively references. So ALL class instances can be collected.
    If the above is true then by running System.gc() twice it will collect the classloader and thus the native library.
    So in your situation it might work if your app server allows you do GC (full GC is better if that is an option). You could try unloading the app, then doing the GC option several times, then do a load. Try the GC option about 6 times and the reduce it down to see if 2 work.
    If that doesn't work then there could be some programmatic solutions using the same idiom.

  • After upgrading to the latest version of itune, I get this message when trying to open itunes: "The I'tunes Library File is locked, on a locked disk, or you do not have permission to write for this file.

    After importing the latest version of itune, I now get this message:  "The I-tunes library file is locked, on a locked disk , or you do not have permission to write for this file.  How do I resolve this?

    check if you have read & write permissions for your music folder. in the finder, right-click on it and get info. unlock the little padlock (you may have to enter your admin password) and change the permission settings if necessary. next, click on the little gear-shaped icon and apply to enclosed items like so
    the important part is to apply to enclosed items !
    also, even if it seems unrelated, try the steps in this support article: iTunes: Missing folder or incorrect permissions may prevent authorization

  • I just upgraded my mac book to 10.6.8 and downloaded the new version of itunes. When I try to open it and error message appears saying, "The iTunes Library file cannot be found or created. The default location for this file is in the "iTunes" folder.

    I just upgraded my mac book to 10.6.8 and downloaded the new version of itunes. When I try to open it and error message appears saying, "The iTunes Library file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder."
    I have tried a few things but iTunes closes right after i click okay. Anyone know anything?

    Look in your Home > Music folder.  There should be an iTunes folder there and it should have a number of files and folders including one called library.itl  You want to guide iTunes to that file.  If you don't see that file or folder then in your next post you will have to be very specific as to what you do see or how you have your iTunes set up because that's where it should be according to default settings.

Maybe you are looking for

  • Rotation reset in illustrator cs4

    hi when i select object or text  and rotate it to any angle  by selection tool, this will rotate ok nice, but how do i reset their angles to 0 degree straighten there is command in object - transform -transform again - reset bounding box what it does

  • HT4718 Does command r during start up delete data and documents?

    Does command r during start up delete data and documents? My Mac Book Pro 2012 running OS X Mountain Lion, and it started glitching. Now, it will turn on, have a loading bar, at the bottom, and turn off in a minute. I don't wan't to lose my saved dat

  • PLD in Quotation to display Normal goods and Optinal Acces goods seperately

    Company is supplying machine and with that it also supply no of Tools at extra cost.while displaying in the report, they want to display seperately under seperate heads. For ex First header Sr.no, Rating,Voltage ratio,winding,Ex-works price per unit

  • Call the method of a ejb??

    hi! I get EJB refrence ,How can I call the method of it?(I use the stand-alone application client) code: import javax.naming.*; //import javax.naming.InitialContext; import javax.rmi.*; import java.util.*; //import hello.*; public class jndi { public

  • UI5 Employee Profile Issue

    I am trying to activate SAP UI5 services from Ehp 7 on a sandbox but when I execute employee profile application from SE80 I am just getting a blank page. So far only leave request application worked file. All other ESS and HRPAO applications are not