Skip to content

Instantly share code, notes, and snippets.

@ken1flan
Created August 6, 2014 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ken1flan/8d8dd71d24df7615cd0c to your computer and use it in GitHub Desktop.
Save ken1flan/8d8dd71d24df7615cd0c to your computer and use it in GitHub Desktop.
溜めすぎたcapistranoのリリースを削除する…capコマンドちゃんと使うべきだよ、本当は。
for d in `ls`; do if [ ${d} -lt 20140701000000 ]; then rm -rf ${d}; fi; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment