Difference between revisions of "Important hidden .dot files in your home partition"

no edit summary
imported>Verityproductions
imported>Verityproductions
Line 118: Line 118:
==Deleting ALL <.dot> directories/files from your ~/==
==Deleting ALL <.dot> directories/files from your ~/==


{{Warning|USE THE FOLLOWING '''VERY CAREFULLY''', AS IT <u>WILL DELETE</u> ALL HIDDEN <.DOT> FILES INSIDE OF WHICHEVER DIRECTORY IT IS USED.}}
{{Warning|Use the following method '''very carefully''', as it will delete all hidden <.Dot> files inside of whichever directory it is used!}}
 
With this in mind, my method (which is not distro specific) is to have all of the important hidden <.dot> files & directories backed up into a different directory in the /home partition (though off of the machine is the best policy). Then just prior to installing the new distro I delete all of the hidden <.dot> files using a very powerful bash command in the Terminal.


{{tip|To be sure that you are in your ~/ directory, from inside of the Terminal, hold down the <Shift Key> & then hit the <~ key>, found in the top left area of your keyboard.}}


The following command will remove all of the hidden <.dot> files & directories from inside of the current directory:


{{tip|To be sure that you are in your ~/ directory, from inside of the Terminal, hold down the <Shift Key> & then hit the <~ key>, found in the top left area of your keyboard.}}
With this in mind, my method (which is not distro specific) is to have all of the important hidden <.dot> files & directories backed up into a different directory in the /home partition (though off of the machine is the best policy). Then just prior to installing the new distro I delete all of the hidden <.dot> files using a very powerful bash command in the Terminal. The following command will remove all of the hidden <.dot> files & directories from inside of the current directory:
    
    
  sudo rm –rf .??*
  sudo rm –rf .??*
    
    
The option '''–rf''' & the use of '''.??*''' will delete all hidden files & directories.
The option '''–rf''' & the use of '''.??*''' will delete all hidden files & directories.