rsbackup tutorial availability
Ian Bruntlett
ian.bruntlett at gmail.com
Thu Sep 23 14:29:54 UTC 2021
Hi Bo,
On Thu, 23 Sept 2021 at 15:20, Bo Berglund <bo.berglund at gmail.com> wrote:
> So I have a box of 2.5" hdd drives, one of which turns out to be a 500GB
> ext4
> with 11GB of data on it. I do not need that data, so it should be cleared
> away.
> What is the best/quickest way to empty the drive? It attaches as sdd1.
>
> Maybe when located in the top of the mounted file system:
>
> user at ubuntuserv:/mnt/extdisk$ sudo rm -r /mnt/extdisk/*
>
Yes, rm -r is the best way to delete data quickly. Just be sure you are
deleting the right data.
I always change to the directory where I expect to be deleting files from.
If you are really careful/paranoid, you would do this on a computer _not_
holding important information, so that any typing mistakes don't trash
precious data.
If you want to make the data even harder to recover, the shred command
might be of interest to you.
Another way would be to use gparted to create a new partition table on the
drive, then add a partition and format it. Again, caution is advised.
BW,
Ian
--
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page -
https://sites.google.com/site/ianbruntlett/home/free-software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210923/42390199/attachment.html>
More information about the ubuntu-users
mailing list