Skip to content

Instantly share code, notes, and snippets.

@cpilsworth
Last active December 16, 2015 18:49
Show Gist options
  • Save cpilsworth/5480260 to your computer and use it in GitHub Desktop.
Save cpilsworth/5480260 to your computer and use it in GitHub Desktop.
Powershell command to delete some files ._ files
# Remove the file metadata included in TAR files
gci . -r -include ._* -force | remove-item -r -force
# Remove SVN files from a project directory tree
# http://stackoverflow.com/questions/2210193/powershell-how-to-recursivelly-delete-all-svn-files
gci . -r -include .svn -force | remove-item -r -force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment