Results 1 to 13 of 13
  1. #1
    Hidden files destroys 20G

    Member Since
    Nov 06, 2006
    Location
    Greenville
    Posts
    8
    Specs:
    MacBook
    Hidden files destroys 20G
    I'm new to OSX, but I'm not dumb, though it may sound so. I was playing around at the terminal wanting to see how OSX deals with hidden files. So here's how I screwed up 20 gigs in one line:

    gala:/users/Ephilei Ephilei$ touch .new
    gala:/users/Ephilei Ephilei$ ls
    Alien Books Desktop Documents Library

    Notice the music, pictures, movies, and sites folders are now mysteriously gone. WTF! The aliases are broken, Spotlight is clueless, and Finder tells me I have 20 more gigs free than 5 minutes ago. I can only guess this has something to do with the fact that all those folder appear alphabetically after ".new".

    Now I'm scared to touch anything for fear I'll lose my chance to recover those files. Please help!

  2. #2
    Hidden files destroys 20G

    Member Since
    Jul 22, 2003
    Location
    Hamilton College
    Posts
    6,999
    Specs:
    20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano
    ls doesn't show hidden files

    Try ls -a to show all files
    Don't forget to use the new User Reputation System

  3. #3
    Hidden files destroys 20G

    Member Since
    Nov 06, 2006
    Location
    Greenville
    Posts
    8
    Specs:
    MacBook
    Thanks, but that wasn't the point. A correction: The movies and music folders don't come after "new" so that's not a connection.

  4. #4
    Hidden files destroys 20G

    Member Since
    Jul 22, 2003
    Location
    Hamilton College
    Posts
    6,999
    Specs:
    20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano
    I just did those exact commands that you did and my folders are still all there so you must have done something else to remove the folders
    Don't forget to use the new User Reputation System

  5. #5
    Hidden files destroys 20G

    Member Since
    Nov 06, 2006
    Location
    Greenville
    Posts
    8
    Specs:
    MacBook
    Wow, thanks for being so risky! I'm racking my brain, but I don't recall having done anything else besides web browsing. But if Finder says the space is empty, it's gone, right?

  6. #6
    Hidden files destroys 20G

    Member Since
    Jul 22, 2003
    Location
    Hamilton College
    Posts
    6,999
    Specs:
    20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano
    I don't store anything in my Movies/Music/Sites folder to begin with and have backups of everything else in case it did actually screw stuff up (that and I found it really hard to believe created a hidden file would do anything to screw up directories)

    Click the up key when you are in terminal to see all of the commands that you have done

    You can also use the command 'find' to see if you can find a file
    Don't forget to use the new User Reputation System

  7. #7
    Hidden files destroys 20G

    Member Since
    Sep 08, 2005
    Location
    ontario
    Posts
    111
    Specs:
    powerbook 12-inch G4 1.55ghz 80g 512mb superdrive
    where do try those comands?

  8. #8
    Hidden files destroys 20G

    Member Since
    Jul 22, 2003
    Location
    Hamilton College
    Posts
    6,999
    Specs:
    20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano
    terminal
    Don't forget to use the new User Reputation System

  9. #9
    Hidden files destroys 20G

    Member Since
    Nov 06, 2006
    Location
    Greenville
    Posts
    8
    Specs:
    MacBook
    Thanks for the 'find,' it's really cool, but to no avail. Of course I made a backup, but I've made a lot of files and pictures in 6 weeks.

    The immediately previous command was also to show the contents of my home dir (not more than 60 sec prior) which is why I feel confident there's a connection. However, the connection that a hidden file would delete folders is hard for me to believe too.

  10. #10
    Hidden files destroys 20G

    Member Since
    Jul 22, 2003
    Location
    Hamilton College
    Posts
    6,999
    Specs:
    20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano
    did you happen to change your home directory name at some point in this?
    Don't forget to use the new User Reputation System

  11. #11
    Hidden files destroys 20G

    Member Since
    Nov 06, 2006
    Location
    Greenville
    Posts
    8
    Specs:
    MacBook
    I never renamed it, but I did try moving it just for the heck of it. I was promptly told I couldn't.

  12. #12
    Hidden files destroys 20G

    Member Since
    Jul 22, 2003
    Location
    Hamilton College
    Posts
    6,999
    Specs:
    20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano
    Quote Originally Posted by Ephilei View Post
    I never renamed it, but I did try moving it just for the heck of it. I was promptly told I couldn't.
    because it says Ephilei$ which is your short name, but the short names can only be in lowercase letters and when you rename the home folder it will create a copy of the old home folder and you won't see any of your files.
    Don't forget to use the new User Reputation System

  13. #13
    Hidden files destroys 20G

    Member Since
    Nov 06, 2006
    Location
    Greenville
    Posts
    8
    Specs:
    MacBook
    I don't understand. What are you getting at? Are suggesting it's possible the folders were moved when I tried moving the home dir? I tried moving it to the desktop but there's no evidence there now. (I realize now that was a really stupid thing to do since the desktop dir is inside the home dir %(

    "Ephilei" (capitalized) is my short and long name. Yes, on linux user names must be lowercase, but that doesn't appear to be the case here (but I'm new).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. hidden files
    By wiredone in forum OS X - Operating System
    Replies: 3
    Last Post: 10-15-2013, 05:11 PM
  2. Hidden files
    By michaelmjc in forum OS X - Operating System
    Replies: 5
    Last Post: 02-17-2008, 11:30 AM
  3. Hidden files not hidden
    By dacool25 in forum OS X - Operating System
    Replies: 5
    Last Post: 02-16-2008, 10:20 AM
  4. help with hidden files
    By dataguy601 in forum Switcher Hangout
    Replies: 21
    Last Post: 12-15-2007, 12:05 AM
  5. make windows hidden files invisible files?
    By smurfy in forum OS X - Apps and Games
    Replies: 1
    Last Post: 05-13-2007, 04:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •