Skip to content

Instantly share code, notes, and snippets.

@shinchiro
Created August 28, 2016 02:32
Show Gist options
  • Save shinchiro/e1c79ee6f75e6d2e9b1f3fa210b861ea to your computer and use it in GitHub Desktop.
Save shinchiro/e1c79ee6f75e6d2e9b1f3fa210b861ea to your computer and use it in GitHub Desktop.
Some random shit
#!/bin/sh
shopt -s extglob
# rm CMakeFiles/*
# rm common/*
# rm encoder/*
SCRIPT_DIR_PATH=$(dirname `which $0`)
cd $SCRIPT_DIR_PATH
cd ../x265/build/msys
rm -R ./*/
rm !(*.sh|*.cmake|*.lnk|*.diff|*.patch)
rm cmake_install.cmake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment