David Gouveia

Bits and Bytes of geekly information

  • About
  • Android ksoap2 stub generator
  • Strava GPX merge tool

Sponsor

Categories

  • .Net
  • Android
  • cryptocurrency
  • General
  • Investments
  • IoT
  • Linux
  • OSX
  • Perl
  • PHP
  • Python
  • Security
  • Snippets
  • Uncategorized
  • Windows Mobile

Recent Posts

  • How to create your own usb watchdog script
  • Python based stratum proxy for CoinHive users
  • Hello World using Arduino IDE and Sonoff WiFi Smart Switch
  • Unhide Qwertee tshirt prices – Chrome extension
  • Rubber Ducky to Arduino payload converter

Recent Comments

  • admin on How to create your own usb watchdog script
  • admin on How to create your own usb watchdog script
  • Jury on How to create your own usb watchdog script
  • Balhau on How to create your own usb watchdog script
  • admin on Controlling relays using Micropython and an ESP8266

Tag: mysql

Very simple bash snippet to something similar to “drop tables like” in MySQL

January 9, 2013 by admin·0 Comments
Tweet
mysql shop -BNe  "show tables like '[INSERT PATTERN HERE]'" | \
while read T; do mysql shop -e "drop table \`$T\`"; done

Nothing fancy here but this is much better than installing custom libraries to do the trick …

Proudly powered by WordPress. Theme: Flat 1.7.8 by Themeisle.