Lines Matching defs:file1
66 char file1[MAXFULLNAME], file2[MAXFULLNAME];
313 (void) split(argv[optind], sys1, fwd1, file1);
342 if ((strchr(file1, '*') != NULL
343 || strchr(file1, '?') != NULL
344 || strchr(file1, '[') != NULL)) {
346 if (ckexpf(file1) == FAIL)
355 ruux(sys1, sys1, file1, sys2p, fwd2, file2);
366 ruux(sys2, sys1, file1, "", fwd2, file2);
379 ruux(sys2, sys1, file1, "", fwd2, file2);
400 DEBUG(4, "file1 - %s, ", file1);
402 if (copy(sys1, file1, sys2p, file2))
491 char file1[MAXFULLNAME], file2[MAXFULLNAME];
495 (void) strcpy(file1, f1);
502 DEBUG(4, "copy: file1=<%s> ", file1);
515 if (ckexpf(file1))
521 if (chkperm(file1, file2, strchr(Optns, 'd')) &&
534 DEBUG(2, "local copy: %s -> ", file1);
537 sprintf(command, "cp %s %s", file1, file2);
556 s1, file1, s2, file2, User, s2 );
579 if (file1[0] != '~')
580 if (ckexpf(file1))
593 "R %s %s %s %s %s %o %s %s\n", file1, file2,
598 (void) sprintf(msg, "%s!%s --> %s!%s", Rmtname, file1,
607 if (ckexpf(file1))
616 if (uidstat(file1, &stbuf) != 0) {
618 gettext("can't get status for file %s\n"), file1);
623 gettext("directory name illegal - %s\n"), file1);
627 if (access(file1, R_OK) != 0) {
630 file1, stbuf.st_mode&0777);
640 if (Copy || !READANY(file1) ) {
642 if (uidxcp(file1, dfile))
650 file1, file2, User, Optns, dfile,
653 (void) sprintf(msg, "%s!%s --> %s!%s", Myname, file1,
698 ruux(rmt, sys1, file1, sys2, fwd2, file2)
699 char *rmt, *sys1, *file1, *sys2, *fwd2, *file2;
724 if (ckexpf(file1))
726 (void) sprintf(cmd+strlen(cmd), " %s!%s ", sys1, file1);
730 (void) sprintf(cmd+strlen(cmd), " (%s!%s) ", sys1, file1);
732 (void) sprintf(cmd+strlen(cmd), " (%s) ", file1);