Lines Matching refs:gl_pathv
550 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
551 tmp = xstrdup(g.gl_pathv[i]);
572 printf("Fetching %s to %s\n", g.gl_pathv[i], abs_dst);
573 if (pathname_is_dir(g.gl_pathv[i]) && (rflag || global_rflag)) {
574 if (download_dir(conn, g.gl_pathv[i], abs_dst, NULL,
578 if (do_download(conn, g.gl_pathv[i], abs_dst, NULL,
629 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
630 if (stat(g.gl_pathv[i], &sb) == -1) {
632 error("stat %s: %s", g.gl_pathv[i], strerror(errno));
636 tmp = xstrdup(g.gl_pathv[i]);
657 printf("Uploading %s to %s\n", g.gl_pathv[i], abs_dst);
658 if (pathname_is_dir(g.gl_pathv[i]) && (rflag || global_rflag)) {
659 if (upload_dir(conn, g.gl_pathv[i], abs_dst,
663 if (do_upload(conn, g.gl_pathv[i], abs_dst,
813 err = do_ls_dir(conn, g.gl_pathv[0], strip_path, lflag);
823 for (i = 0; g.gl_pathv[i]; i++)
824 m = MAX(m, strlen(g.gl_pathv[i]));
831 for (i = 0; g.gl_pathv[i] && !interrupted; i++, a = NULL) {
832 fname = path_strip(g.gl_pathv[i], strip_path);
1337 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
1338 printf("Removing %s\n", g.gl_pathv[i]);
1339 err = do_rm(conn, g.gl_pathv[i]);
1433 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
1434 printf("Changing mode on %s\n", g.gl_pathv[i]);
1435 err = do_setstat(conn, g.gl_pathv[i], &a);
1444 for (i = 0; g.gl_pathv[i] && !interrupted; i++) {
1445 if (!(aa = do_stat(conn, g.gl_pathv[i], 0))) {
1454 "remote file \"%s\"", g.gl_pathv[i]);
1463 printf("Changing owner on %s\n", g.gl_pathv[i]);
1466 printf("Changing group on %s\n", g.gl_pathv[i]);
1469 err = do_setstat(conn, g.gl_pathv[i], aa);
1731 complete_display(g.gl_pathv, pwdlen);
1738 tmp2 = complete_ambiguous(file, g.gl_pathv, g.gl_matchc);