Skip to content

Instantly share code, notes, and snippets.

@lpaseen
lpaseen / WipeTapes.sh
Last active February 18, 2024 19:41
Script to Erase all tapes loaded in a tape loader.
#!/bin/bash
#
# Description:
# Erase all tapes loaded in a tape loader.
# If FULL is given as parameter a full erase is done otherwise it just do a quick one.
# BUGS:
# It should count how many drives and do that part automagically
# but it's hard to pair up drives with loaders when other tape drives exists also.
# Haven't tested FULL
#