Skip to content

Instantly share code, notes, and snippets.

View tomg404's full-sized avatar
💻
Programming

Tom Gaimann tomg404

💻
Programming
View GitHub Profile
@tomg404
tomg404 / rewp.sh
Created January 2, 2024 19:39
Microsoft Excel 2007+ write protection remover
#!/bin/sh
# Script to remove the write protection from all worksheets
# in an excel `.xlsx` file.
#
# DISCLAIMER: I tested this script with a single file on an arch linux system. The
# type of the file before and after editing is 'Microsoft Excel 2007+'. Check this
# first with `file table.xlsx`!
#
# The process of removing the write protection is really simple and looks like the following: