Skip to content

Instantly share code, notes, and snippets.

@arcadoss
Created January 20, 2014 12:13
Show Gist options
  • Save arcadoss/8518981 to your computer and use it in GitHub Desktop.
Save arcadoss/8518981 to your computer and use it in GitHub Desktop.
Clean vim swap files
#!/bin/sh
find . -regex '.*/\.[^/]*\.sw[ijklmnop]' 2>/dev/null -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment