Forrest logo
back to the snapper tool

snapper:tldr:3a6d7

snapper: Delete a snapshot.
$ snapper -c ${config} delete ${snapshot_number}
try on your machine

This command is used to delete a specific snapshot from the snapper snapshot management tool, with the specified configuration.

Here's a breakdown of the command components:

  • snapper: This is the command-line tool used for managing and manipulating snapshots on Linux systems.
  • -c ${config} or --config ${config}: This option specifies the configuration to be used for the snapshot operation. The ${config} placeholder should be replaced with the actual name of the configuration.
  • delete: This is the subcommand that instructs snapper to delete a snapshot.
  • ${snapshot_number}: This placeholder should be replaced with the actual number or ID of the snapshot you want to delete.

By executing this command, the specified snapshot will be removed from the given snapper configuration, freeing up storage space on your system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the snapper tool