Adobe Dreamweaver: Remove all .LCK Files
This page shows a simple and very fast way to remove all .LCK files from a Dreamweaver website. This method is for sites running on an Apache server, and must be implemented as a shell command on the server (see remote sessions for more info).
Step 1: Login with a shell prompt, then navigate to your web directly (most likely a folder named public_html or www). For example:
cd /path_to/username/public_html
Step 2: Execute the following command:
find . -name "*.LCK" -exec rm {} \;
Be warned:
- Executing this type of command is very dangerous if you get it wrong! You should only attempt this if you are confident about what you are doing. MediaCollege.com assumes no responsibility if you accidentally delete half your website.
- This is final and not undo-able! However if you change your mind later it's probably not a big deal unless you have a lot of different people collaborating on the site. Simply synchronize your site from within Dreamweaver and new LCK files will be created.