Lines Matching refs: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"
59 " enabled) for each directory before attempting to remove directory"
87 int directory; /* remove(dir) not rmdir(dir) */
136 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search");
157 error(2, "%s: directory", ent->fts_path);
186 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context))
200 error(1, "%s: hard link to directory", ent->fts_path);
207 if (isempty(ent) || state->directory)
215 if ((ent->fts_info == FTS_DC || state->directory) ? remove(path) : rmdir(path))
234 error(ERROR_SYSTEM|2, "%s: directory not removed", ent->fts_path);
249 error(2, "%s: directory not removed", ent->fts_path);
347 state.directory = 1;