Skip to content

Instantly share code, notes, and snippets.

@maraigue
Created February 13, 2009 02:59
Show Gist options
  • Save maraigue/63013 to your computer and use it in GitHub Desktop.
Save maraigue/63013 to your computer and use it in GitHub Desktop.
カレントディレクトリ以下のすべてのバックアップファイル("~"で終わるファイル)を削除するシェルスクリプト
#!/bin/sh
find -regex '.+~' -print -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment