Skip to content

Instantly share code, notes, and snippets.

@Eugeny
Created March 21, 2014 14:57
Show Gist options
  • Save Eugeny/9688045 to your computer and use it in GitHub Desktop.
Save Eugeny/9688045 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import pyltfs2
import sys
url='mysql+mysqlconnector://root:123@localhost/syslink_tapelibrary'
ltfs = pyltfs2.LTFS(url)
ltfs.delete_tape(name=sys.argv(1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment