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

no edit summary
imported>Verityproductions
imported>Verityproductions
Line 112: Line 112:
The Manjaro team have gone along way towards removing the above problems, (including the permission problem) as can be read here: [http://wiki.manjaro.org/index.php/Partitioning_Overview_and_Existing_Partition_Tables#Where_Using_an_Existing_Linux_Partition_Table]
The Manjaro team have gone along way towards removing the above problems, (including the permission problem) as can be read here: [http://wiki.manjaro.org/index.php/Partitioning_Overview_and_Existing_Partition_Tables#Where_Using_an_Existing_Linux_Partition_Table]


'''Note:''' If you happen to have any important
 
hidden <.dot> files before you use the above
{note|If you happen to have any important hidden <.dot> files before you use the above linked to Manjaro method; know that they will be overwritten.}}
linked to Manjaro method; know that they will  
 
be overwritten.


==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.}}


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.
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.


'''USE THE FOLLOWING VERY CAREFULLY, AS IT ''WILL DELETE'' ALL HIDDEN <.DOT> FILES INSIDE OF WHICHEVER DIRECTORY IT IS USED.'''


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


To be sure that you are in your ~/ 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.}}
from inside of the Terminal '''hold down the'''
'''''Shift'' key & then hit the ~ key''', found in
the top left area of your keyboard:
    
    
  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.


Line 138: Line 134:




'''NOTE:''''' If you choose to do the above after running the '''su''' command, be sure that you are still in your '''~/''' directory. As if you have landed in /root you must change directory into your /home/<user.name> directory, or else you will delete all of the /root hidden <.dot> files & not those from ~/ your user home.''
{{note| If you choose to do the above after running the '''su''' command, be sure that you are still in your '''~/''' directory. As if you have landed in /root you must change directory into your /home/<user.name> directory, or else you will delete all of the /root hidden <.dot> files & not those from ~/ your user home.}}
 


=Feedback=
=Feedback=