![]() Use the -recursive ( -r or -R) option to remove each listed directory, too, along with all version output version information and exitīy default, rm does not remove directories. r, -R, -recursive remove directories and their contents recursively ![]() preserve-root do not remove '/' (default) ![]() no-preserve-root do not treat '/' specially one-file-system when removing a hierarchy recursively, skip any directory that is on a file system different from that of the corresponding command line argument ![]() Prompt according to WHEN: never, once ( -I), or always ( -i). Less intrusive than -i, while still giving protection against most I prompt once before removing more than three files, or when removing recursively. f, -force ignore nonexistent files, never prompt If the response is not affirmative, the file is interactive=always option is given, rm prompts the user for whether to remove the file. Otherwise, if a file is unwritable, standard input is a terminal, and the -f or -force option is not given, or the -i or If the response is not affirmative, the entire command is aborted. Given, then rm prompts the user for whether to proceed with the entire operation. If the -I or -interactive=once option is given, and there are more than three files or the -r, -R, or -recursive are rm removes each specified file.īy default, it does not remove directories. This manual page documents the GNU version of rm.
0 Comments
Leave a Reply. |