Forrest logo
back to the sfill tool

sfill:tldr:5334a

sfill: Overwrite free space and inodes of a disk with 1 write (very fast but insecure) and show status.
$ sfill -ll -v ${-path-to-mounted_disk_directory}
try on your machine

The command "sfill -ll -v ${-path-to-mounted_disk_directory}" is used to securely wipe the contents of a directory on a mounted disk. Here's the breakdown of each part of the command:

  • "sfill": It is a command-line tool used to securely fill free disk space with random data. It is part of the secure-delete package in Linux.
  • "-ll": This is an argument or option given to the "sfill" command. The "-ll" option specifies that files are wiped multiple times using different patterns.
  • "-v": Another option for the "sfill" command, "-v" stands for "verbose" and it provides more detailed output during the wiping process. It shows the progress, status, and other relevant information.
  • "${-path-to-mounted_disk_directory}": This is a placeholder representing the actual path to the directory on the mounted disk that you want to securely wipe. Replace it with the correct path on your system. It could be something like "/mnt/mydisk" or "/media/usb".

It is important to note that executing this command will permanently delete all the data within the specified directory on the mounted disk, as it will be overwritten with random data. Make sure you have a proper backup and are certain about what you want to accomplish before using this command.

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 sfill tool