Lines Matching defs:file2
66 char file1[MAXFULLNAME], file2[MAXFULLNAME];
282 (void) split(argv[argc - 1], sys2, fwd2, file2);
300 DEBUG(9, "file2: %s\n", file2);
303 * if there are more than 2 argsc, file2 is a directory
306 (void) strcat(file2, "/");
355 ruux(sys1, sys1, file1, sys2p, fwd2, file2);
366 ruux(sys2, sys1, file1, "", fwd2, file2);
379 ruux(sys2, sys1, file1, "", fwd2, file2);
402 if (copy(sys1, file1, sys2p, file2))
491 char file1[MAXFULLNAME], file2[MAXFULLNAME];
496 (void) strcpy(file2, f2);
503 DEBUG(4, "file2=<%s>\n", file2);
517 if (ckexpf(file2))
521 if (chkperm(file1, file2, strchr(Optns, 'd')) &&
522 (access(file2, W_OK) == -1)) {
535 DEBUG(2, "%s\n", file2);
537 sprintf(command, "cp %s %s", file1, file2);
556 s1, file1, s2, file2, User, s2 );
564 file2, s1, User );
582 if (ckexpf(file2))
593 "R %s %s %s %s %s %o %s %s\n", file1, file2,
599 Myname, file2);
611 if (file2[0] != '~' && !EQUALS(Wrkdir, XQTDIR))
612 if (ckexpf(file2))
650 file1, file2, User, Optns, dfile,
654 Rmtname, file2);
698 ruux(rmt, sys1, file1, sys2, fwd2, file2)
699 char *rmt, *sys1, *file1, *sys2, *fwd2, *file2;
737 " (%s!%s!%s) ", sys2, fwd2, file2);
739 (void) sprintf(cmd+strlen(cmd), " (%s!%s) ", fwd2, file2);
743 if (ckexpf(file2))
745 (void) sprintf(cmd+strlen(cmd), " (%s!%s) ", sys2, file2);