Skip to content

Instantly share code, notes, and snippets.

@kogakure
Created March 16, 2009 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kogakure/79851 to your computer and use it in GitHub Desktop.
Save kogakure/79851 to your computer and use it in GitHub Desktop.
Bash: Get rid of those nasty files from Frontpage, WSFTP, etc.
#!/bin/bash
find . -name _vti_cnf -exec rm -rf {} \;
find . -name _borders -exec rm -rf {} \;
find . -name _private -exec rm -rf {} \;
find . -name _vti_pvt -exec rm -rf {} \;
find . -name _vti_txt -exec rm -rf {} \;
find . -name _vti_script -exec rm -rf {} \;
find . -name .DS_Store -exec rm -rf {} \;
find . -name WS_FTP.LOG -exec rm -rf {} \;
find . -name desktop.ini -exec rm -rf {} \;
find . -name Thumbs.db -exec rm -rf {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment