{"id":1738,"date":"2021-11-15T09:01:31","date_gmt":"2021-11-15T14:01:31","guid":{"rendered":"https:\/\/csimmons.dev\/blog\/?p=1738"},"modified":"2024-12-05T11:38:32","modified_gmt":"2024-12-05T16:38:32","slug":"adobe-dreamweaver-cleanup","status":"publish","type":"post","link":"https:\/\/csimmons.dev\/blog\/2021\/11\/adobe-dreamweaver-cleanup\/","title":{"rendered":"Adobe Dreamweaver Cleanup"},"content":{"rendered":"\r\n<p>I used Adobe Dreamweaver for probably close to a decade. I have since moved on to VSCode, but I still maintain several old sites built with Dreamweaver. Since no one in our organization uses Dreamweaver I finally decided it was time to remove the extra directories and files associated with Dreamweaver. This involved cleaning up both the server and my local Mac.<\/p>\r\n\r\n\r\n\r\n<p>Following are instructions for removing Adobe Dreamweaver directories and files from a Windows server and a local Mac. I recommend logging and reviewing what\u2019s being cleaned up before deleting, but if Danger is your middle name feel free to skip it.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">Server Side (Windows)<\/h2>\r\n\r\n\r\n\r\n<p><strong>Note: Server Side instructions assumes you are running the command(s) from the directory you want to clean up.<\/strong><\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Directories (_baks,_notes,_mm,MMWIP)<\/h3>\r\n\r\n\r\n\r\n<p>Log all occurrences of the directories to c:\\directories-log.txt<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">for \/d \/r . %d in (_baks,_notes,_mm,MMWIP) do @if exist \"%d\" echo \"%d\" &gt; c:\\directories-log.txt<\/pre>\r\n\r\n\r\n\r\n<p>Delete all occurrences of the directories<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">for \/d \/r . %d in (_baks,_notes,_mm,MMWIP) do @if exist \"%d\" rd \/s\/q \"%d\"<\/pre>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Files (*.LCK)<\/h3>\r\n\r\n\r\n\r\n<p>Log all occurrences of the files to c:\\files-log.txt<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">dir \/s\/b *.LCK &gt; c:\\files-log.txt<\/pre>\r\n\r\n\r\n\r\n<p>Delete all occurrences of the files<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">del \/f *.LCK<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">Local (Mac OSX)<\/h2>\r\n\r\n\r\n\r\n<p><strong>Note: Local instructions assume you are running the command(s) on a directory you want to clean up located in \/Users\/developer\/website<\/strong><\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Directories (_baks,_notes,_mm,MMWIP)<\/h3>\r\n\r\n\r\n\r\n<p>Log all occurrences of the directories to ~\/log.txt<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">find \/Users\/developer\/website -name '_notes' -o -name '_baks' -o -name '_mm' -type d &gt; ~\/directories-log.txt<\/pre>\r\n\r\n\r\n\r\n<p>Unlock all files in the directories (to avoid \u201cOperation not permitted\u201d error on locked files)<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">find \/Users\/developer\/website -name '_notes' -o -name '_baks' -o -name '_mm' -type d | xargs chflags -R nouchg<\/pre>\r\n\r\n\r\n\r\n<p>Delete all occurrences of the directories<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">find \/Users\/developer\/website -name '_notes' -o -name '_baks' -o -name '_mm' -type d | xargs rm -rf<\/pre>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">Files (*.LCK)<\/h3>\r\n\r\n\r\n\r\n<p>Log all occurrences of the files to ~\/files.txt<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">find \/Users\/developer\/website -name '*.LCK' -type f &gt; ~\/files-log.txt<\/pre>\r\n\r\n\r\n\r\n<p><br \/>Delete all occurrences of the files<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">find \/Users\/developer\/website -name '*.LCK' -type f | xargs rm -rf<\/pre>\r\n","protected":false},"excerpt":{"rendered":"<p>I used Adobe Dreamweaver for probably close to a decade. I have since moved on to VSCode, but I still maintain several old sites built with Dreamweaver. Since no one in our organization uses Dreamweaver I finally decided it was time to remove the extra directories and files associated with Dreamweaver. This involved cleaning up &#8230; <a title=\"Adobe Dreamweaver Cleanup\" class=\"read-more\" href=\"https:\/\/csimmons.dev\/blog\/2021\/11\/adobe-dreamweaver-cleanup\/\" aria-label=\"Read more about Adobe Dreamweaver Cleanup\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_cloudinary_featured_overwrite":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[63],"tags":[14],"class_list":["post-1738","post","type-post","status-publish","format-standard","hentry","category-software","tag-dreamweaver"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pbVg43-s2","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/1738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/comments?post=1738"}],"version-history":[{"count":0,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/1738\/revisions"}],"wp:attachment":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media?parent=1738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/categories?post=1738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/tags?post=1738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}