Ramblings on technology with a dash of social commentary
RSS icon Email icon Home icon
  • Recursively Delete Dreamweaver _notes Terminal Mac OS X

    Posted on January 21st, 2011 phpguru 2 comments

    Check this out. Launch terminal and CD to your Sites directory.

    cd ~/Sites
    find website.com/* -name _notes -print0 | xargs -0 rmdir

    Gotta love LinuxForums.org.


    2 responses to “Recursively Delete Dreamweaver _notes Terminal Mac OS X” RSS icon

    • find website.com/* -name _notes -print0 | xargs -0 rm -rf works if you get errors about directory not empty.

    • find /home/yourusername -name ".*" -print0 | xargs -0 rm -rf

      This works great if you have a collection of files you transferred from a Samba volume and it included all the dot underscore files.

    Leave a reply