New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

Hidden files destroys 20G


Post Reply New Thread Subscribe

 
Thread Tools
Ephilei

 
Member Since: Nov 07, 2006
Location: Greenville
Posts: 8
Ephilei is on a distinguished road
Mac Specs: MacBook

Ephilei is offline
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!
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 6,999
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline
ls doesn't show hidden files

Try ls -a to show all files

Don't forget to use the new User Reputation System
QUOTE Thanks
Ephilei

 
Member Since: Nov 07, 2006
Location: Greenville
Posts: 8
Ephilei is on a distinguished road
Mac Specs: MacBook

Ephilei is offline
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.
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 6,999
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline
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
QUOTE Thanks
Ephilei

 
Member Since: Nov 07, 2006
Location: Greenville
Posts: 8
Ephilei is on a distinguished road
Mac Specs: MacBook

Ephilei is offline
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?
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 6,999
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline
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
QUOTE Thanks
w...b

 
Member Since: Sep 08, 2005
Location: ontario
Posts: 111
w...b is an unknown at this point
Mac Specs: powerbook 12-inch G4 1.55ghz 80g 512mb superdrive

w...b is offline
where do try those comands?
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 6,999
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline
terminal

Don't forget to use the new User Reputation System
QUOTE Thanks
Ephilei

 
Member Since: Nov 07, 2006
Location: Greenville
Posts: 8
Ephilei is on a distinguished road
Mac Specs: MacBook

Ephilei is offline
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.
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 6,999
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline
did you happen to change your home directory name at some point in this?

Don't forget to use the new User Reputation System
QUOTE Thanks
Ephilei

 
Member Since: Nov 07, 2006
Location: Greenville
Posts: 8
Ephilei is on a distinguished road
Mac Specs: MacBook

Ephilei is offline
I never renamed it, but I did try moving it just for the heck of it. I was promptly told I couldn't.
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 6,999
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline
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
QUOTE Thanks
Ephilei

 
Member Since: Nov 07, 2006
Location: Greenville
Posts: 8
Ephilei is on a distinguished road
Mac Specs: MacBook

Ephilei is offline
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).
QUOTE Thanks

Post Reply New Thread Subscribe


« Just made the switch again. MBP 2.33 15.4" finally here!! | Odd Opera Browser Behavior »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Deleting Hidden files... ldj OS X - Operating System 15 03-16-2013 12:24 PM
Files Lost during Profile Move SITF OS X - Operating System 0 10-17-2006 04:54 PM
Hidden Files aantoine90 Schweb's Lounge 2 03-25-2006 09:19 AM
search hidden files futerfas OS X - Operating System 3 04-27-2004 08:11 PM
Microsoft's Really Hidden Files Murlyn Schweb's Lounge 1 09-02-2003 08:36 PM

All times are GMT -4. The time now is 08:05 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?