Skip to content

Instantly share code, notes, and snippets.

@bakertim
Created February 14, 2014 18:45
Show Gist options
  • Save bakertim/9006631 to your computer and use it in GitHub Desktop.
Save bakertim/9006631 to your computer and use it in GitHub Desktop.
BASH: Remove .DS_Store
#! /bin/bash
find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment