Remove Obsolete Files

From MiOS
(Difference between revisions)
Jump to: navigation, search
m (Intro)
m
 
Line 3: Line 3:
 
'''HOWTO  remove obsolete LUUP files from your Vera.'''
 
'''HOWTO  remove obsolete LUUP files from your Vera.'''
  
==Prerequisits==
+
==Prerequisites==
 
* Vera 1 or 2 hardware
 
* Vera 1 or 2 hardware
* Root password, to be found at the bottom of your Vera (also your initial WIFI security key)
+
* "SSH Access to your Vera [http://wiki.micasaverde.com/index.php/Logon_Vera_SSH]
  
==Intro==
+
==Introduction==
Heres a short manual on how to remove unwanted LUUP files from your Vera<br />
+
Heres a short manual on how to remove unwanted Luup files from your Vera<br />
 
Please use this how to CAREFULLY (this cannot be stressed enough) remove certain obsolete files.<br />
 
Please use this how to CAREFULLY (this cannot be stressed enough) remove certain obsolete files.<br />
 
Remove ONLY files of which you are CERTAIN are obsolete.<br />
 
Remove ONLY files of which you are CERTAIN are obsolete.<br />
Line 16: Line 16:
  
 
1. Instead type;<br />
 
1. Instead type;<br />
''chdir /etc/cmh-ludl''<br />
+
''chdir /etc/cmh-ludl''
 
hit <enter><br />
 
hit <enter><br />
It should now say '''root@MiOS_xxxxx:/etc/cmh-ludl'''#<br />
+
It should now say  
 +
'root@MiOS_xxxxx:/etc/cmh-ludl'#
  
 
2. To display a list of all the files in this folder, type;<br />
 
2. To display a list of all the files in this folder, type;<br />
''ls''  
+
''ls''  
  
3. hit <Enter>, that is LS in lowercase, linux is case sensitive<br />
+
3. hit <Enter>, that is LS in lowercase, Linux is case sensitive<br />
 
Make sure you write down the EXACT names of the files you want to remove<br />
 
Make sure you write down the EXACT names of the files you want to remove<br />
(For example: D_Weather.xml.lzo) XML files are sometimes renamed to xxxxx.xml.lzo for the internal workings of LUUP<br />
+
(For example: D_Weather.xml.lzo) xml files are sometimes renamed to xxxxx.xml.lzo for the internal workings of Luup<br />
 
Now for removing the unwanted files.(For instance UPnP files can look something like "D_FUP_uuid faxxx-xxx-xxx-xxx-xxx.xml")<br />
 
Now for removing the unwanted files.(For instance UPnP files can look something like "D_FUP_uuid faxxx-xxx-xxx-xxx-xxx.xml")<br />
  
 
4.To do this type: <br />
 
4.To do this type: <br />
''rm -i *FUP*''<br />
+
''rm -i *FUP*''
 
hit <Enter>
 
hit <Enter>
  
 
5. Linux will need confirmation if you want to do this, type<br />
 
5. Linux will need confirmation if you want to do this, type<br />
''Y''<br />
+
''Y''
 
and hit <Enter><br />
 
and hit <Enter><br />
  
 
6. To confirm every file you want to '''''keep''''', type<br />
 
6. To confirm every file you want to '''''keep''''', type<br />
''N''<br />
+
''N''
 
and hit <Enter><br />
 
and hit <Enter><br />
  
 
7. After all unwanted files have been deleted. type<br />
 
7. After all unwanted files have been deleted. type<br />
''ls''  
+
''ls''  
  
 
8.Hit <Enter> and see if all unwanted files have been removed.<br />
 
8.Hit <Enter> and see if all unwanted files have been removed.<br />
  
 
9. If they have, type<br />
 
9. If they have, type<br />
''exit''<br />
+
''exit''
 
and hit <Enter>.<br />
 
and hit <Enter>.<br />
  

Latest revision as of 18:57, 20 May 2011

HOWTO remove obsolete LUUP files from your Vera.

Contents

[edit] Prerequisites

  • Vera 1 or 2 hardware
  • "SSH Access to your Vera [1]

[edit] Introduction

Heres a short manual on how to remove unwanted Luup files from your Vera
Please use this how to CAREFULLY (this cannot be stressed enough) remove certain obsolete files.
Remove ONLY files of which you are CERTAIN are obsolete.

[edit] Instructions

You can not remove files in the cmh-ludl directory from the root directory. You will get an error message stating "Permission denied".

1. Instead type;

chdir /etc/cmh-ludl

hit <enter>
It should now say

'root@MiOS_xxxxx:/etc/cmh-ludl'#

2. To display a list of all the files in this folder, type;

ls 

3. hit <Enter>, that is LS in lowercase, Linux is case sensitive
Make sure you write down the EXACT names of the files you want to remove
(For example: D_Weather.xml.lzo) xml files are sometimes renamed to xxxxx.xml.lzo for the internal workings of Luup
Now for removing the unwanted files.(For instance UPnP files can look something like "D_FUP_uuid faxxx-xxx-xxx-xxx-xxx.xml")

4.To do this type:

rm -i *FUP*

hit <Enter>

5. Linux will need confirmation if you want to do this, type

Y

and hit <Enter>

6. To confirm every file you want to keep, type

N

and hit <Enter>

7. After all unwanted files have been deleted. type

ls 

8.Hit <Enter> and see if all unwanted files have been removed.

9. If they have, type

exit

and hit <Enter>.

The PuTTY program will now close.

[edit] References

please find more info here [2]
Help on logging in to your Vera using SSH can be found here: [3]

Personal tools