Artificial intelligent assistant

Clear all Snapper snapshots OpenSUSE (among other distributions) uses **snapper** to take snapshots of _btrfs_ partitions. Some people think the default snapshot intervals take up too much space too quickly, but whether or not you believe that, there are times when you want to clear space on your filesystem and often find that the _btrfs_ snapshots are taking a significant amount of space. Or, in other cases you may want to clear the filesystem of all excess data before moving it to/from a VM or changing the storage medium or something along those lines. But, I can't seem to find a command to quickly wipe all of the snapshots **snapper** has taken, either via snapper or another tool. How would I do this?

The command in recent versions of snapper is (I don't remember when it was introduced, but the version in e.g., openSUSE 13.2 supports this):


snapper delete number1-number2


So to delete all snapshots (assuming you have no more than 100000 of them) you'd do:


snapper delete 1-100000


Obviously this only deletes snapshots on the default root config, so for a different config it would be:


snapper -c configname delete number1-number2

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 6ae86cd5b987a8144eb9ec6a3dc69fb4