網頁

2010年4月23日 星期五

useful command

  • $ find ../../../../MMI/UI_ESIM/porting/PL_Java -iname "*.c" -exec basename "{}" \; | sed -e 's/\.c/\.o/g' | xargs -r rm

  • $ find . -iname "iextutil.o" -o -iname "iamsengine.o" -o -iname "kjava_sys_ext.o" | xargs -r rm

  • $ svn status | grep -v '?' | cut -b 2- | sed -e 's,\\,/,g' | xargs -r cp --parents -t ../patch_0427_release_merge/

  • $ find . -maxdepth 1 ! -iname "pl_java*" | xargs -r rm -rf

  • $ find . -maxdepth 1 ! -iname "build*" -a ! -name '.' | xargs -r rm -rf

  • $ diff -u -r --ignore-matching-lines=".*\$Id.*" parts_simon/ parts_ting/ | tee diff4.patch

  • $ svn diff -c 80580 --diff-cmd diff -x '-u -w -B -t --tabsize=4' > svg_update_hi_diff.log

沒有留言: