/bin/bash: Remove Dreamweaver synchronization "stuff" from your hosting

As an online note, I’m writing this post to remind myself and help others that still suffer using Dreamweaver on a daily basis and at some point end up having a bunch of unwanted folders and files that Dreamweaver keeps for synchronization information. To remove all that from a Linux hosting (provide you have ssh access):

ssh to your server

for i in `find ./ | grep dwsync.xml`; do ls -l $i && rm $i; done
for i in `find ./ | grep '_notes'`; do ls -l $i && rmdir $i; done

inside your public html folder (the root folder would work just as well)

  • IGlr