Files Deleted Randomly

Has anyone had problems with their macbook deleting/removing groups of files at random? I have a 2006 macbook and I know that at least two different folders containing important files are gone from my hard drive.

I would strongly recommend you startup from your original Mac OS X install disk (restart with the disk in the drive and hold down on the "c" key) and then run the Disk Utility. You will have to choose a language first but don't continue to install Mac OS X. Instead, open the Disk Utility from the Utilities menu and run the "repair disk" option. This will make sure the file directories on your hard drive are healthy. If an error is found, make sure it can be repaired and run the "repair disk" again until no errors are found. If it finds problems it can't repair, you may need a more sophisticated repair tool like Alsoft's DiskWarrior. If no errors are found, there must be some other reason for files disappearing. I would recommend you backup all your files as soon as possible, as this could be an indication of some larger problem that may delete an important Mac OS X file or folder and causing Mac OS X to fail...
-Doug

Similar Messages

  • Random multiple file delete query?

    Hi, how do I action a random multiple file delete
    Regards

    Thanks GfulDedFan for info link
    For your info - There is one command on that link that didn't work, which was the last instruction - after highlighting a list of files, to deselect one file press the Option key (earlier in the same demo he instructed to use the Command key which worked)
    Regards,

  • Music files deleted from Memory Card..(5800XM)

    Hi..
    I have a Nokia 5800 XpressMusic. Music files used to get deleted earlier automatically from the music player, but this problem stopped for a while. The other day, I transferred about 20 songs to my phone via Mass Storage mode through my PC. After a couple of days, all those 20 songs are missing from my music player. They've disappeared from the Memory Card as well, leaving behind only the folder in which they were.
    Please help. This is REALLY annoying. 

      Yes, may be you are right. Something was wrong with my memory card and i figured out this morning. its an 8gb card out of which my personal data was about 4 gb. yet i could see that almost 7gb was used and only about  0.5gb was free. what i did was that i pulled all my data out of the  mem card and found that still 3gb was used up. hmmm...this was very weird. Not too sure but i guess it may be occupied by .arc files which are created when i do backup on the memory card. This was leaving very little space on my mem card , so whenever new data was added to the card, it was flushing out some existing data randomly (which is actually very sick!). 
    So, i removed all my personal data from card and then formatted it. Now my card is clean and has lot of free space. Hopefully the problem won't repeat anymore.
    Its actually quite annoying that data is deleted randomly without prompting that disk has run out space. quite weird actually.
    List of Nokia phones I've used: 3310, 3315, 3200, 6600,3250, N73 ME, N95 8GB, 5800 XpressMusic and Nokia X6 16 GB (currently using this).

  • Hi there. Was thinking of selling my MacBook pro and I ended up deleting random things. Help

    Hi there. Was thinking of selling my MacBook pro and I ended up deleting random things. I accidentally changed the admin username to a few spaces using the spacebar button, but it seems to not be working. I still know the password. I also accidentally deleted the home folder location, so when I try to use Internet or open finder or anything it says "the home folder isn't located in the usual place. I also am unable to restart from the reboot using any of the cmd s or cmd c. I also don't have any of the disks. Please help. I don't care about files or info, the computer is essentially blank, I just can't access anything anymore

    Sorry to say, No there isn't. Even IF you hadn't deleted, or still had, the Recovery HD partition from one of the Download only version of OS X, Lion, Mt Lion or Mavericks, you can't sell or give your Mac to anyone with one of those version installed. Those versions are tied to the Apple ID of the person that downloaded and installed them.
    You could sell it like that but the new owner would never be able to update or upgrade it without the original Apple ID that downloaded and installed any of those versions. Putting the newer owner between a Rock and a hard place.
    You must restore it to the original version of OS X that came on it when it was new and the only way to do that is with the original system discs it came with or a replacement set of them. These discs are Machine, Model, Specific and when and if you do sell it they should be given to the new owner along with the system.

  • Prevent file deletion on server but allow read/write permissions

    So, I have several iMacs that are basically public computers.  They will all access a shared server.  The machines need to possess all of the user permissions of a "read/write" user with the EXCEPTION of being allowed to delete.  As it is now, a random user could delete our entire server in two clicks.  So, I need to somehow secure our data while still allowing the "reading" and "editing" of files.
    Here's what I need to do:
    •  Somehow disable the delete file function altogether (while still maintaining read/edit permissions) or
    •  Find some 3rd party app or workaround that prompts the user with a password dialogue box in order to execute the "delete" function or
    •  Somehow apply permissions to a specific folder on the server that enables read/edit, but disables file deleting by users
    I set the permissions of my trash folder to "read only" however, this only prevents deleting local files and doesn't prohibit deleting files from the shared drive.
    Thoughts?

    I'd rethink the requirements.
    The literal answer is that yes, you can mark the files as being undeletable.
    The access control list setting via the command line chmod command is something akin to the following:
    chmod +a "groupname deny delete"
    In practice, these same requirements do allow the shared files to be effectively deleted; via overwrite.  (This is why the Unix-layer file protections don't bother to differentiate write from delete access.)  These requirements also allow partial file corruptions, a situation which tends to be far more pernicious.

  • Set permissions to prevent file deleting

    So, I have several iMacs that are basically public computers.  They will all access a shared server.  The machines need to possess all of the user permissions of a "read/write" user with the EXCEPTION of being allowed to delete.  As it is now, a random user could delete our entire server in two clicks.  So, I need to somehow secure our data while still allowing the "reading" and "editing" of files.
    •  Somehow disable the delete file function altogether (while still maintaining read/edit permissions)
    •  Find some 3rd party app or workaround that prompts the user with a password dialogue box in order to execute the "delete"
    •  Somehow apply permissions to a specific folder that enables read/edit, but disables file deleting
    Thoughts?

    You should post your question in this forum
    https://discussions.apple.com/community/servers_enterprise_software/os_x_server
    But in a nutshell, using ACL's, you can give people read-write access, but not give them full control (i.e they can't delete.).

  • Deleting random songs

    I know this has been a problem before, but I have been doing some searching and haven't been able to find a solution/reason.
    I have a 160gb iPod that has been fine for about 2 years now, and now all of a sudden it is deleting random songs.
    I have got some songs off of CDs and put them on (I manually manage) and they will transfer fine and will play on iTunes. Then certain songs off of certain albums will just mysteriously delete, sometimes after playing fine on the iPod. In one situation it would cut out half way through, and then when I tried to play it again it had altogether disappeared.
    I have deleted the music and put it back on again, but the same thing happens.
    Any help would be appreciated! Unsure why this is happening, it is not all of my music, just random songs.

    There are hundreds of posts like this.
    Is your music just gone from the iTunes program library, or are the actual msuci files gone from your hard drive?
    I suspect it is just gone from your library - that is the most common thing.
    Background article on the ITL library file:
    http://docs.info.apple.com/article.html?artnum=93732
    Nobody knows why the library file gets corrupted - it could be any number of things.
    What I do is make regular backups of that ITL file. I put it a copy on a USB drive.
    Just a question, do you have iTunes organize your music, in other words is the checkbox in iTunes > Preferences > General tab checked? ANd did you ever change the music location while it was checked? I am not sure if that has anything to do with it, but I've noticed that files on an old location of mine go missing more often, esp if they have odd characters in them, such as àáèéôú.

  • Trying to delete file from trash but get this: The operation can't be completed because the item "File name" is in use. All other files delete except this one. Please help

    Trying to delete file from trash but get this: The operation can’t be completed because the item “File name” is in use. All other files delete except this one. Please help

    Maybe some help here:
    http://osxdaily.com/2012/07/19/force-empty-trash-in-mac-os-x-when-file-is-locked -or-in-use//

  • HT2674 I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive. Now, the trash can will not empty some of the files deleted.  File folder: "Core Services" contains a locked file: "boot.efi".  It will not

    I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive which operates from Time Machine.
    Now, the trash can will not empty some of the files deleted from the backup harddrive.
    The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi". 
    It will not delete.
    How do I get the trash can empty of these files?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • File.delete() and File.deleteOnExit() doesn't work consistently..

    I am seeing some odd behavior with trying to delete files that were opened. Usually just doing new File("file.txt").delete() would work. However, in this case, I have created an input stream to the file, read it in, saved it to another location (copied it), and now I am trying to delete it.
    The odd thing is, in my simple application, the user can work with one file at a time, but I move "processed" files to a lower pane in a swing app. When they exit it, it then archives all the files in that lower pane. Usually every file but the last one opened deletes. However, I have seen odd behavior where by some files don't delete, sometimes all of them wont delete. I tried the deleteOnExit() call which to me should be done by the JVM after it has released all objects such that they don't matter and the JVM ignores any object refs and directly makes a call (through JNI perhaps) to the underlying OS to delete the file. This doesn't work either.
    I am at a loss as to why sometimes some files delete, and other times they don't. In my processing code, I always close the input stream and set its variable to null. So I am not sure how it is possible a reference could still be held to the object representing the file on disk.

    and then, in the other class
      public int cdplayerINIToMMCD(File aDatabase, String thePassword) throws IllegalArgumentException {
         /*---------DATA---------*/
         String dbLogin, dbPassword;
         JFileChooser fc;
         INIFileFilter ff;
         int dialogReturnVal;
         String nameChosen;
         File INIFile;
         ProgressMonitor progressMonitor;
         BufferedReader inFileStream;
         String oneLine;
         int totalLines = 0;
         int linesParsed = 0;
         boolean openDBResult;
         int hasPassword;
         if ((aDatabase == null) || (!aDatabase.exists()) ||
            (FileManagement.verifyMMCD(aDatabase) == FileManagement.VERIFY_FAILED)) {
            throw new IllegalArgumentException();       
         else { 
            currentDB = aDatabase;
            if(thePassword == null) {
              dbPassword = "";
            else { dbPassword = thePassword; }
            dbLogin = dbPassword; //For MSAccess dbLogin == dbPassword
         //Ask the user for the cdplayer.ini file.
         //Create a file chooser
         if (System.getProperty("os.name").indexOf("Windows") > -1) {
            fc = new JFileChooser("C:\\Windows");
         else {
            fc = new JFileChooser();     
         fc.setMultiSelectionEnabled(false);
         fc.setDragEnabled(false);
         //Create a new FileFilter
         ff = new INIFileFilter();
         //Add this filter to our File chooser.
         fc.addChoosableFileFilter(ff);
         fc.setFileFilter(ff);
         //Ask the user to locate it.
         do {
            dialogReturnVal = fc.showOpenDialog(mainFrame);
            if (dialogReturnVal == JFileChooser.APPROVE_OPTION) {
               nameChosen = fc.getSelectedFile().getAbsolutePath();
               if(nameChosen.toLowerCase().endsWith(INIFileFilter.FILE_TYPE)) { INIFile=new File(nameChosen); }
               else { INIFile = new File(nameChosen+INIFileFilter.FILE_TYPE); }
               if (!INIFile.exists()) {
                  continue; //If the name specified does not exist, ask again.
               else { break; }
            else { //User clicked cancel in the open dialog.
               //Ignore what we've done so far.
               return(IMPORT_ABORTED);
         } while(true); //Keep asking until cancelled or a valid file is specified.
         //Determine how many lines will be parsed.
         try {
           //Open the INI for counting
           inFileStream = new BufferedReader(new InputStreamReader(new FileInputStream(INIFile)));
           while ((inFileStream.readLine()) != null) {
               totalLines++;
           //Close the INI file.
           inFileStream.close();
         } catch (IOException ex) { return(IMPORT_FAILED); }
         //Make a progress monitor that will show progress while importing.
         progressMonitor = new ProgressMonitor(mainFrame, "Importing file","", 0, totalLines);
         progressMonitor.setProgress(0);
         progressMonitor.setMillisToPopup(100);
         progressMonitor.setMillisToDecideToPopup(1);
         //Make our DatabaseHandler to insert results to the database.
         dbh = new DatabaseHandler();
         //Open the database connection.
         do {
           try {
              openDBResult = dbh.openDBConnection(currentDB, dbLogin, dbPassword);
           } catch(JDBCException ex) { return(IMPORT_JDBC_ERROR); } //OUCH! can't write anything.
             catch(SQLException ex) {
                 openDBResult = DatabaseHandler.OPNCN_FAILED;
                 //Can not open the database. Is it password protected?
                 hasPassword = JOptionPane.showConfirmDialog(mainFrame, "Could not open the database. "+
                                                "The password is wrong or you have not specified it.\n"+
                           "Do you want to enter one now?", "New password?", JOptionPane.YES_NO_OPTION);
                if (hasPassword == MMCDCatalog.DLG_OPTN_YES) {
                   dbPassword = JOptionPane.showInputDialog(mainFrame, "Please enter your "+
                                                              "password for the DataBase:");
                    dbLogin = dbPassword; //For MSAccess, login == password                                                    
                //If the password wasn't the problem, then we can't help it.
                else { return(IMPORT_FAILED); }
         } while(openDBResult != DatabaseHandler.OPNCN_OK); //If it is OK, no exception thrown.
         //Import the ini file
         try {
            //Open the INI file for parsing.
            inFileStream = new BufferedReader(new InputStreamReader(new FileInputStream(INIFile)));
            //Read and parse the INI file. Save entries once parsed.
            while ((oneLine = inFileStream.readLine()) != null) {
               parseLine(oneLine);
               linesParsed++;
               progressMonitor.setNote("Entries imported so far: "+entriesImported);
               progressMonitor.setProgress(linesParsed);
               if ((progressMonitor.isCanceled()) || (linesParsed == progressMonitor.getMaximum())) {
                  progressMonitor.close();
                  break;
            //Close the INI file.
            inFileStream.close();
         } catch (IOException ex) {
              //Make absolutely sure the progressMonitor has disappeared
                progressMonitor.close();
                if (dbh.closeDBConnection() != DatabaseHandler.CLSCN_OK) {
                 JOptionPane.showMessageDialog(mainFrame, "Error while reading the INI file.\n"+
                    "Error while attempting to close the database", "Error", JOptionPane.INFORMATION_MESSAGE);
              else {
                 JOptionPane.showMessageDialog(mainFrame, "Error while reading the INI file.",
                                                    "Error", JOptionPane.INFORMATION_MESSAGE);     
                return(IMPORT_FAILED);
         //Make absolutely sure the progressMonitor has disappeared
         progressMonitor.close();
         //Close the database connection
         if (dbh.closeDBConnection() != DatabaseHandler.CLSCN_OK) {
            JOptionPane.showMessageDialog(mainFrame, "Error while closing the database after import.",
                                          "Error", JOptionPane.INFORMATION_MESSAGE);
         //Did the user cancel?
         if (totalLines != linesParsed) {
            return(IMPORT_ABORTED);     
         //Success!
         //Everything ok. Return the number of entries imported.
         return(entriesImported);
      }

  • File.delete() not working properly

    Hi Forum!!
    I am trying with the below code :
    File file = new file("path");
    try{
    if(file.exists())
    System.+gc+();
    file.delete();
    System.+out+.println("Control in delete trx file after deletion"+ file.exists());
    }catch(SecurityException se){
    String msg= "Delete trx file if 3gttz file created : IO Problems";
    Log.+error+(msg, se);
    }file.exists() returns false But I when I check file, it still exhists with content 0 bytes .
    Is there a way to remove the entire file from the directory rather than deleting only the
    contents ? Need not to tell I did my initial search to solve the problem.
    Thanks
    Edited by: jagabandhu on Feb 10, 2009 1:09 PM

    georgemc wrote:
    PhHein wrote:
    corlettk wrote:
    We can't all be rocket surgeons, either ;-)Heart scientist is the word you're looking for.Or rockin' sturgeons. A (marginally) cooler - albeit fictional - alternative to this abominationFrom a crazy drunk:
    A "bottle in front of me" is better than a "frontal lobotomy"!
    (Sound out those two quoted strings.)

  • Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...

    Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...  When I search for a file, A) it asks me if it's a name, or it wont produce anything, and B), its slower than in prior OS versions and in some instances I have to toggle to a different directory and go back to my original directory in the search: menu bar or the search wont produce anything...  Very buggy. 

    It appears to me that network file access is buggy in Maverick.
    In my case I have a USB Drive attached to airport extreme (new model) and when I open folders on that drive they all appear empty. If I right click and I select get info after a few minutes! I get a list of the content.
    It makes impossible navigate a directory tree.
    File access has been trashed in Maverick.
    They have improved (read broken) Finder. I need to manage a way to downgrade to Lion again.

  • Java.io.File.delete worked in 1.1, 1.2, 1.3 & 1.4, but not in 5.0

    I have a logging utility I wrote originally in Java 1.0. A nightly housekeeping task runs which creates a ZIP file for the previous days log, then deletes the .log file. If I run this software with Java 5.0, the File.delete fails and the .LOG file remains on the disk. No exceptions are thrown. delete just returns false.
    Any ideas?

    to find a bug this basic! Each day I switch to a new log file, leaving the previous days file. I was never closing the old PrintStream... Jees... How embarrassing.

  • Application server-file delete

    Hi All,
    Is there any options to delete for file in directory in Application server. If there ,please send me flow or logic.

    Hi,
    For deleting a file in the application server user the syntax DELETE DATASET..
    DELETE DATASET '/tmp/test.txt'.
    IF SY-SUBRC <> 0.
      WRITE: / 'Error in deleting'.
    ELSE.
      WRITE; / 'File deleted'.
    ENDIF.
    Thanks,
    Naren

  • Logs for File Deletion?

    I have a situation where I don't want to recover a file... I want to see how it was deleted.
    Is there any way to review file deletions via Apple log files or any other method? My research so far says no... but perhaps someone is craftier than I've proven to be.

    An unfortunate circumstance to be sure. Out of curiosity is there any particular reason you can't use ClamXAV rather than NAV?
    I suppose that if NAV has a log and nothing relevant is in the log, then you're at a loss to even know if NAV is responsible for the folder's mysterious disappearance. Maybe you have technically savvy cockroaches in the building that come out at night to play? An informational age version of Archie and Mehitabel?
    This experience may be an impetus to install software that keeps track of what's installed or removed from a computer. Doesn't help much now but it would be useful in the future.
    Oh, one thing comes to mind - file recovery software:
    Data Rescue II
    File Salvage
    TechTool Pro
    Message was edited by: Kappy

Maybe you are looking for