23.5 Remove Some, Leave SomeMost people use rm -i (21.11 ) for safety: so they're always asked for confirmation before removing a particular file. Mike Loukides told me about another way he uses rm -i . When he has several files to remove, but the wildcards (1.16 ) would be too painful to type with a plain rm , Mike gives rm -i a bigger list of filenames and answers "n" to filenames he doesn't want deleted. For instance: % - |
|