Tag: delete

  • Delete empty directories

    Delete all empty directories found with find find -depth -type d -empty -exec rmdir {} \;

  • Find and delete

    Find files and directories containning your search terms, and delete them witout confirmation and recursively. No matter if they are not empty. find . -name “search_terms” -exec rm -rf {} \;