Lines Matching defs:link
26 * cp/ln/mv -- copy/link/move files
53 "[l:link?Make hard links to destination files instead of copies.]"
61 "[+NAME?ln - link files]"
89 "[s:symlink|symbolic-link?Make symbolic links to destination files.]"
168 int (*link)(const char*, const char*); /* link */
181 char text[PATH_MAX]; /* link text buffer */
334 else if (state->link == link && !state->force)
336 error(2, "%s: cannot link directory", ent->fts_path);
378 if (state->link != pathsetlink)
388 error(2, "%s: cannot copy non-terminal symbolic link", ent->fts_path);
558 error(ERROR_SYSTEM|2, "%s: cannot read symbolic link text", ent->fts_path);
564 error(ERROR_SYSTEM|2, "%s: cannot copy symbolic link to %s", ent->fts_path, state->path);
648 if ((*state->link)(ent->fts_path, state->path))
649 error(ERROR_SYSTEM|2, "%s: cannot link to %s", ent->fts_path, state->path);
706 state->link = link;
755 state->link = link;
768 state->link = pathsetlink;
928 else if (state->link != pathsetlink)
935 error(ERROR_SYSTEM|2, "%s: cannot link", argv[0]);
941 else if ((*state->link)(*argv, state->path))
942 error(ERROR_SYSTEM|2, "%s: cannot link to %s", *argv, state->path);