- 1

How to delete all file on disk?)

code search and delete all files

4th Nov 2017, 6:38 PM
Ilya
Ilya - avatar
11 Answers
+ 12
Back in my IT days we had special disks to wipe Windows hard drives. For Linux? We just typed that command in 😎
4th Nov 2017, 7:14 PM
Ace
Ace - avatar
+ 11
@Daniel Well he asked how to delete ALL files on a disk 😏
4th Nov 2017, 6:55 PM
Ace
Ace - avatar
+ 9
On a Linux shell: rm -rf / 😎
4th Nov 2017, 6:48 PM
Ace
Ace - avatar
+ 4
some years ago MS-DOS had "deltree" command but now I think not
4th Nov 2017, 7:08 PM
Daniel
Daniel - avatar
+ 3
Too dangerous Ace :-p
4th Nov 2017, 6:53 PM
Daniel
Daniel - avatar
+ 3
jeje I know but maybe only rm -r / for a second oportunity to think ;-P
4th Nov 2017, 6:58 PM
Daniel
Daniel - avatar
+ 1
Put a magnet on your drive. Set it on fire. I guarantee you it will be deleted. Microwave it too but I wouldn't recommend it. Since you weren't specific on the question this is how I am going to answer it.
4th Nov 2017, 10:35 PM
Ray Joe
Ray Joe - avatar
0
for windows
4th Nov 2017, 7:02 PM
Ilya
Ilya - avatar
0
ok senks all)
4th Nov 2017, 7:22 PM
Ilya
Ilya - avatar
0
windows open CMD navigate to the directory in which the file is present using cd command then type the following del ["filename.filetype"] Linux open terminal navigate to the directory in which the file is present using cd command then use rm to remove files in that directory
5th Nov 2017, 4:08 AM
Talluri Saisumanth
Talluri Saisumanth - avatar