Lines Matching refs:directory

36 "[+DESCRIPTION?If the last argument names an existing directory, \bcp\b "
37 "copies each \afile\a into a file with the same name in that directory. "
39 "the second. It is an error if the last argument is not a directory and "
54 "appending to the target directory a slash and the specified source file "
55 "name. The last argument must be an existing directory. Missing "
69 "[+DESCRIPTION?If the last argument names an existing directory, \bln\b "
70 "links each \afile\a into a file with the same name in that directory. "
72 "second. It is an error if the last argument is not a directory and more "
78 "[+DESCRIPTION?If the last argument names an existing directory, \bmv\b "
79 "renames each \afile\a into a file with the same name in that directory. "
81 "the second. It is an error if the last argument is not a directory and "
126 "file ... directory\n"
161 int directory; /* destination is directory */
257 error(2, "%s: directory causes cycle", ent->fts_path);
282 if (state->directory)
292 if (state->directory)
314 error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path);
338 error(ERROR_SYSTEM|2, "%s: cannot reset directory mode to %s", state->path, fmtmode(st.st_mode & S_IPERM, 0) + 1);
351 error(1, "%s: directory -- copying as plain file", ent->fts_path);
354 error(2, "%s: cannot link directory", ent->fts_path);
361 error(2, "%s: cannot read directory", ent->fts_path);
364 error(2, "%s: cannot search directory", ent->fts_path);
369 if (state->directory)
375 error(2, "%s: not a directory -- %s ignored", state->path, ent->fts_path);
381 error(ERROR_SYSTEM|2, "%s: cannot create directory -- %s ignored", state->path, ent->fts_path);
384 if (!state->directory)
386 state->directory = 1;
412 if (state->directory)
445 error(2, "%s: cannot %s existing directory", state->path, state->opname);
965 if (!(state->directory = !stat(file, &st) && S_ISDIR(st.st_mode)) && argc > 1)
967 if (s && !state->directory)
968 error(3, "%s: not a directory", file);
975 if (state->directory && state->path[state->postsiz - 1] != '/')
979 if (!state->directory)
980 error(3, "%s: last argument must be a directory", file);