Lines Matching defs:directory
45 "[d:directory?\bremove\b(3) (or \bunlink\b(2)) directories rather than"
48 " constitution, to use this option. Even though the directory must"
58 " enabled) for each directory before attempting to remove directory"
86 int directory; /* remove(dir) not rmdir(dir) */
135 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search");
156 error(2, "%s: directory", ent->fts_path);
185 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context))
199 error(1, "%s: hard link to directory", ent->fts_path);
206 if (isempty(ent) || state->directory)
214 if ((ent->fts_info == FTS_DC || state->directory) ? remove(path) : rmdir(path))
233 error(ERROR_SYSTEM|2, "%s: directory not removed", ent->fts_path);
248 error(2, "%s: directory not removed", ent->fts_path);
346 state.directory = 1;