Difference between revisions of "Important hidden .dot files in your home partition"
Views
Actions
Namespaces
Variants
Tools
Important hidden .dot files in your home partition (view source)
Revision as of 19:28, 7 November 2013
, 11 years agono 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| | {{Warning|Use the following method '''very carefully''', as it will delete all hidden <.Dot> files inside of whichever directory it is used!}} | ||
{{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. |