English Serbian (latin)
[[!meta title="Securely deleting files and clean diskspace"]]
[[!toc levels=1]]
[[!toc levels=1]]
<a id="why"></a>
Why use secure deletion?
**Operating systems do not actually remove the contents of a file when it is
deleted**, even after emptying the trash or explicitly removing the file, from
the command line for example.
Instead, they simply remove the file's entry from the file system directory, because this requires less work and is therefore faster. The contents of the file—the actual data—remain on the storage medium. The data will remain there until the operating system reuses the space for new data.
Likewise, reformatting, repartitioning or reimaging a system is not always guaranteed to write to every area of the disk, though all will cause the disk to appear empty or, in the case of reimaging, empty except for the files present in the image, to most software.
Finally, even when the storage medium is overwritten, physical properties of the medium might make it possible to recover the previous contents. In most cases however, this recovery is not possible by just reading from the storage device in the usual way, but requires using laboratory techniques such as disassembling the device and directly accessing/reading from its components.
To learn more, see the Wikipedia article on [[!wikipedia Data_erasure desc="data erasure"]].
<a id="usb_and_ssd"></a>
Warning about USB sticks and solid-state disks
The only way to securely delete any data, even a single file, from a USB stick or an SSD (Solid-State Disk) is to [[securely erase the entire device|secure_deletion#erase-device]].
For more details read the corresponding section of the Wikipedia article on [[!wikipedia Data_erasure#Limitations desc="data erasure"]].
Securely delete files
<div class="caution">
<div class="caution">
<p>Securely deleting files does not erase the potential backup copies of
the file (for example LibreOffice creates backup copies that allow
you to recover your work in case LibreOffice stops responding).</p>
</div>
</div>
Open the <span class="application">Files</span> browser.
Navigate to the folder containing the files that you want to delete.
Select the files that you want to delete with the mouse.