# How can I restore all hidden subdirectories those were created during packages installation in case I completely wiped out my home directory

My /home directory was on the separate partition. By mistake I destroyed all the data on it. Now it's resized and formatted. It contains no directories but empty lost+found.

So I lost config data for soo many packages and I guess some packages could not work, or could work wrong. Am I right?

Is there a way to restore those many hidden subdirectories that packages created during installation? I suppose they'll be recreated if I managed to reinstall all installed packages.

ps Server 10.04 LTS, /etc/skel is empty

-
So simple! Thank you! –  zuba Jan 9 '12 at 23:17

Re-installing packages is not going to help as the . directories are automatically created when you use a package. You can start with cp /etc/bash.bashrc ~/.bashrc . Other then that, most of the . directories will be auto generated and you should not have lost anything other then various settings or configurations.