ReleaseEngineering/UsefulTricks: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 10: Line 10:
  find 06 -type f ! -name '*en-US*' -ls | grep trunk | grep -v xpi | awk '{sum+=$7; printf("%9s  %s\n",$7,$11)} END{ print sum/1024/1024," MB to be saved"}' | tee ~/cf/remove_seamonkey_l10n/2008-06 | less
  find 06 -type f ! -name '*en-US*' -ls | grep trunk | grep -v xpi | awk '{sum+=$7; printf("%9s  %s\n",$7,$11)} END{ print sum/1024/1024," MB to be saved"}' | tee ~/cf/remove_seamonkey_l10n/2008-06 | less
  find 06 -type f ! -name '*en-US*' | grep trunk | grep -v xpi | xargs rm -v | tee -a ~/cf/remove_seamonkey_l10n/2008-06
  find 06 -type f ! -name '*en-US*' | grep trunk | grep -v xpi | xargs rm -v | tee -a ~/cf/remove_seamonkey_l10n/2008-06
* Remove old complete mar files
* Remove old complete mar files (root@stage)
  cd /pub/mozilla.org/firefox/nightly/2008/
  cd /pub/mozilla.org/firefox/nightly/2008/
  find 01 -name '*complete.mar' -ls | grep -E '(mozilla1.8.0|mozilla1.8|trunk|mozilla1.9.0|mozilla-central|action-monkey)/' | awk '{sum+=$7; printf("%9s  %s\n",$7,$11)} END{ print sum/1024/1024," MB to be saved"}' | tee ~/cf/remove_mars/fx-2008-01
  find 01 -name '*complete.mar' -ls | grep -E '(mozilla1.8.0|mozilla1.8|trunk|mozilla1.9.0|mozilla-central|action-monkey)/' | awk '{sum+=$7; printf("%9s  %s\n",$7,$11)} END{ print sum/1024/1024," MB to be saved"}' | tee ~cltbld/cf/remove_mars/fx-2008-01
  find 01 -name '*complete.mar'    | grep -E '(mozilla1.8.0|mozilla1.8|trunk|mozilla1.9.0|mozilla-central|action-monkey)/' | xargs rm -v | tee -a ~/cf/remove_mars/fx-2008-01
  find 01 -name '*complete.mar'    | grep -E '(mozilla1.8.0|mozilla1.8|trunk|mozilla1.9.0|mozilla-central|action-monkey)/' | xargs rm -v | tee -a ~cltbld/cf/remove_mars/fx-2008-01
Confirmed users
4,293

edits

Navigation menu