Temporary / Backup Files In Ubuntu

30th March, 2008 – 11:57 am

As part of the redesign of this site I have a lot of legacy files which required some tweaking.  I’m still not happy with my menu on the old portion of the site but it’s good enough.

I found Ubuntu’s Bluefish allowed me to perform Advanced search and replaces with regular expressions.  This was useful in removing some javascript I had at the top of each html page to check that the user had the side menu (which was done using frames – oh the horror).  Unfortunatly it created a billion temporary? backup? files that are copies with a tilda (~) suffixed on the file extension.

The friendly people at Ubuntu Forums helped me here and I found a command to delete all files in all directories of my site.

Here’s my thread

The command is here, from here

find . -name “*~” -exec rm {} \;

Post a Comment