Lines Matching defs:dest_path
468 static char *get_local_name(struct file_list *flist, char *dest_path)
476 flist->count, NS(dest_path));
479 if (!dest_path || list_only)
483 if ((statret = do_stat(dest_path, &st)) == 0) {
486 if (!push_dir(dest_path, 0)) {
488 full_fname(dest_path));
496 return dest_path;
515 full_fname(dest_path));
521 return dest_path;
525 cp = strrchr(dest_path, '/');
541 if (mkdir_defmode(dest_path) != 0) {
543 full_fname(dest_path));
550 rprintf(FINFO, "created directory %s\n", dest_path);
557 if (!push_dir(dest_path, dry_run > 1)) {
559 full_fname(dest_path));
571 return dest_path;
573 if (cp == dest_path)
574 dest_path = "/";
577 if (!push_dir(dest_path, 0)) {
579 full_fname(dest_path));