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) */
133 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search");
154 error(2, "%s: directory", ent->fts_path);
183 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context))
197 error(1, "%s: hard link to directory", ent->fts_path);
204 if (isempty(ent) || state->directory)
212 if ((ent->fts_info == FTS_DC || state->directory) ? remove(path) : rmdir(path))
231 error(ERROR_SYSTEM|2, "%s: directory not removed", ent->fts_path);
246 error(2, "%s: directory not removed", ent->fts_path);
356 state.directory = 1;