[X-Unix] Urgent question about accidentally deleted files

Kevin Stevens groups at pursued-with.net
Thu Sep 4 17:35:04 PDT 2008


On Sep 4, 2008, at 16:51, Aaron wrote:

> In the course of testing a shell script, I accidentally deleted all  
> of the following files from my home directory:
>
> .CFUserTextEncoding
> .DS_Store
> .Xauthority
> .bash_history
> .cshrc
> .eno
> .fonts.cache-1
> .gdb_history
> .gtk-bookmarks
> .lesshst
> .login
> .prismPrefs
> .profile
> .rnd
> .tcshrc
> .viminfo
>
> 1) Which of these files can I totally ignore without losing  
> anything? (I don't use bash or gdb. I do use tcsh. But if I need to  
> run a bash script, will there be any problems.)
>
> 2) Which ones can be replaced using earlier versions? I'm presuming  
> that .tcshrc and .login can, even if the earlier versions are from  
> my Tiger startup. (I'm using Leopard now.)
>
> 3) Any other considerations? (Don't tell me about backing up. I'm  
> getting set up to use time machine, but i don't even know if that  
> would let me only recover specific files without replacing other new  
> files.)
>
> - TIA
> - Aaron

.login and .profile control your user startup experience.  You might  
want to create a new user and copy those files from their user  
directory.  Otherwise you should be ok.

KeS


More information about the X-Unix mailing list