Lines Matching refs:remove
32 "[+NAME?rm - remove files]"
34 " does not remove directories. If a file is unwritable, the"
36 " given, \brm\b prompts the user for whether to remove the file."
43 " \bfsync\b(2) and closing before attempting to remove. Implemented"
51 "[i:interactive|prompt?Prompt whether to remove each file."
58 " enabled) for each directory before attempting to remove directory"
86 int directory; /* remove(dir) not rmdir(dir) */
90 int recursive; /* remove subtrees too */
101 * remove a single file
146 error(2, "%s: cannot remove", ent->fts_path);
183 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context))
212 if ((ent->fts_info == FTS_DC || state->directory) ? remove(path) : rmdir(path))
238 error(2, "%s: cannot remove", ent->fts_path);
257 if ((v = astquery(-1, "remove %s? ", ent->fts_path)) < 0 || sh_checksig(state->context))
318 if (remove(path))
420 error(ERROR_SYSTEM|2, "%s: cannot remove", argv[0]);