Tag: rm

347 How do I make rm not give an error if a file doesn't exist? 2009-11-27T16:43:23.687

200 How far will you get with an 'rm -rf /' command? 2011-07-20T13:48:09.437

123 How to delete all files in a directory except some? 2013-01-08T12:17:05.293

116 Undo an "rm -rf ~" command? 2011-05-05T18:30:54.563

74 Does rm -rf follow symbolic links? 2012-01-25T16:39:39.260

68 What command do I need to use to remove a file called `-rf`? 2010-10-05T22:06:31.907

65 How to recover a removed file under Linux? 2010-06-08T02:00:57.877

46 Delete files with regular expression 2012-02-22T18:07:35.050

40 Trying to delete directory with "rm -rf", but get message that it's not empty 2012-08-27T19:39:10.790

38 Deleting millions of files 2013-11-23T16:28:51.810

31 undo Linux's rm? 2009-08-30T12:09:51.560

31 Linux – cannot remove owned file with 777 permissions 2011-09-02T13:45:09.080

30 Is there a scenario where rm -rf -no-preserve-root is needed? 2014-04-16T08:20:28.570

29 Prevent user typing accidental space between rm and wildcard 2015-01-14T04:58:27.583

26 Mac -- remove all files with a certain extension from a directory tree 2011-02-03T18:41:33.027

26 Linux Mint doesn’t boot after running “rm” command that was supposed to setup a swap partition 2013-01-29T20:23:30.683

21 Best practices to alias the rm command and make it safer 2012-01-25T17:36:15.797

20 How can I remove a file or directory called "\"? 2013-07-29T18:24:14.443

18 Getting rid of a file called "-d" 2011-09-08T20:24:01.913

17 use rm to remove files and directories recursively 2009-10-27T04:52:52.513

17 `alias rm="rm -i"` considered harmful? 2012-02-01T15:02:33.217

16 Can files deleted with rm -rf be recovered? 2012-10-13T11:06:06.727

15 How to delete file with this name on linux: -]???????q 2011-01-06T15:40:55.767

13 How to delete all but one file in Unix? 2011-03-30T18:02:12.297

13 Removing files matching a numeric range regular expression 2012-07-15T18:17:17.197

11 ls | grep | rm -- How to format this command? 2011-01-31T20:33:14.090

10 Remove all files but one with rm 2011-01-01T04:48:51.983

10 Saying 'yes to all' using rm -i 2011-03-26T19:51:40.530

10 Command to remove all files and folders recursively including, hidden ones, on MAC OS Terminal? 2012-05-19T15:16:50.560

9 Safe substitute for OS X `rm`? 2011-07-24T23:13:54.820

8 Explaining the -W flag for rm 2012-12-02T03:25:26.077

8 I just ran rm /* accidentally, any fix? 2013-02-18T20:44:48.737

7 Why is the dreadful 'rm -rf /' even allowed? 2011-09-15T10:42:03.147

7 How to remove a file with unprintable charaters in Mac OS X Terminal 2012-12-25T12:57:49.063

7 How was I able to remove a root owned file without sudo 2017-10-03T12:13:57.813

6 rm on MINGW32, cannot unlink not owner 2012-04-23T16:42:38.643

6 Deleting files doesn't free space 2012-08-13T19:43:24.110

6 Is it possible to remove the root directory? 2013-01-28T16:59:43.243

6 Mac OS Sierra and srm 2016-09-22T06:56:20.607

5 Removing file with strange characters in filename in OS X 2010-08-04T20:50:29.673

5 Remove everything except? 2011-01-17T03:09:07.780

5 Delete all files older than X days 2011-01-21T17:09:43.430

5 How to delete the contents of a USB Stick in Linux 2013-09-06T17:47:53.610

5 How can I remove all files from a directory that have a certain filename length? 2013-09-09T17:42:22.943

5 Need to delete a file I accidentally labeled in quotes in Linux 2013-09-17T17:00:35.963

5 What if "rm -rf" does not work, but "ls -a" shows no files? 2013-11-06T10:03:06.860

5 How to remove a file with name starting with "-r" using cli 2013-12-17T20:20:47.770

5 Removing "rw-r--r-- root/wheel restricted" files in MacOS leave some files left 2018-09-27T20:22:04.547

5 Cannot delete corrupted folder in windows 10 2018-12-18T10:29:13.920

4 Does rm work alphabetically? 2012-10-03T14:00:54.360

4 Emptying the trash takes "forever": is using rm -r safe to use in Mac OS X 10.7 (Lion)? 2012-11-16T02:10:08.730

4 Fastest way to delete a non empty directory in Linux 2013-10-23T11:25:35.573

4 Undelete an "rm -r" on an exfat external hard disk device 2016-10-09T11:09:26.940

3 How do I remove someone else's subdirectory from under my directory? 2010-09-20T17:19:04.333

3 When does rm remove open files? 2011-06-25T11:10:17.473

3 (Probably) trivial question about rmdir 2011-08-10T17:19:31.137

3 restore /dev after `rm`ing it 2012-02-10T07:55:28.833

3 How to limit CPU and disk usage of rm to allow other programs to remain functional 2012-04-10T17:06:31.140

3 What is the point of UNIX's rmdir? 2012-09-20T21:15:37.970

3 Removing symbol link with too many levels of symbolic links 2012-09-25T15:46:17.937

3 Deleting Certain Extension with Bash (quickly) 2012-12-21T02:42:48.627

3 OS X - DEAAD300 File Can't be seen via Terminal or Deleted 2013-01-23T17:05:47.420

3 Does RM corrupt when interrupted? 2013-01-26T01:14:19.863

3 Removing a directory containing a file using find 2013-03-07T01:31:41.533

3 How do I remove a possible hard-link directory to root? 2013-07-28T03:43:08.460

3 Use 'find' to find and delete large files of a certain type 2013-08-05T16:03:08.833

3 Remove all *.foo in directory tree 2013-12-23T10:19:04.893

3 Cannot delete a dir as `root`, even after a `chattr -i` 2016-12-24T04:24:32.470

3 WinSCP - How to Zip, Download and Delete a file? 2017-04-17T13:13:54.327

3 'Permission denied' when trying to delete file as root on macOS 2017-11-29T21:13:47.610

3 How to delete a directory in MacOS from the command line? 2019-07-13T03:16:15.477

2 Ubuntu, delete all files that start with '._' 2010-05-26T09:28:58.593

2 Why does rm -rf not yield an error? 2010-07-07T14:21:24.210

2 Mac keyboard shortcut to rm file 2010-12-15T15:57:49.383

2 How to use "rm" to remove files with a ":" in them? 2010-12-19T21:01:44.680

2 Remove all files except for a few, from a folder in Unix 2011-01-11T10:23:24.127

2 How can I block execution of rm -rf * in a Linux shell? 2011-12-13T14:31:06.347

2 Where do files and directories go when I run 'rm -rf folder_or_file_name' in Ubuntu 10.04? 2011-12-22T21:09:17.473

2 Can't delete some symbolic links on HFS volume (Mac OS X 10.7.2) 2012-01-23T00:17:26.347

2 Remove directories from a file with list of directories 2012-02-22T15:46:53.643

2 What command sequence can I use to delete directories but not their files? 2012-04-03T06:49:54.730

2 Does rm -rf /* command at cygwin affects Windows systems? 2012-05-01T04:39:30.923

2 How can delete all files except one from a directory? 2012-05-30T07:53:52.493

2 rm !(myfile) does not work on OS X? 2013-01-11T22:32:55.177

2 Undeletable file in RedHat Linux 2013-01-23T20:56:07.220

2 Linux, How to delete a folder with more than 1 million files? 2013-02-12T10:21:39.267

2 rm -r only files? 2013-03-11T11:48:54.483

2 Delete all file except some in bash, without cd to the directory? 2013-09-19T08:18:14.797

2 How can rm -rf be slower than delete in nautilus? 2013-10-04T08:41:23.723

2 rm command: remove files with file names containing brackets 2013-10-08T09:11:49.910

2 UNIX command for deleting / removing files on today's date 2014-04-03T18:26:36.427

2 Removing multiple files from directory, as specified by variable in Makefile 2014-05-02T19:45:26.927

2 Using Bash, how can I delete all the desktop.ini in my external drive folder tree? 2014-05-13T13:13:29.953

2 Deleting unpacked tar.gz files after unpacking incorrectly 2014-10-20T22:52:57.997

2 Is there any difference in power between sudo rm and sudo rm -f? 2015-01-21T22:19:29.567

2 How to recursivly delete all JPG files, but keep the ones containing "sample" 2015-04-15T20:32:21.917

2 Unlink (remove) directory symlink 2018-06-07T09:19:27.507

2 Bash Script to delete oldest files but keep latest files including sub-directories 2019-11-14T08:15:43.293

1 Removing files with strange names 2010-06-15T15:13:59.447