Searched refs:target_directory (Results 1 – 4 of 4) sorted by relevance
473 char const *target_directory = nullptr; in main() local530 if (target_directory) in main()542 target_directory = optarg; in main()582 if (target_directory) in main()597 else if (n_files < 2 && !target_directory) in main()599 target_directory = "."; in main()604 if (n_files == 2 && !target_directory) in main()610 = target_directory ? target_directory : file[n_files - 1]; in main()628 n_files -= !target_directory; in main()629 target_directory = d; in main()[all …]
320 char const *target_directory = nullptr; in main() local368 if (target_directory) in main()370 target_directory = optarg; in main()430 if (n_files <= !target_directory) in main()445 if (target_directory) in main()455 else if (target_directory) in main()457 target_dirfd = target_directory_operand (target_directory, &sb); in main()460 quoteaf (target_directory)); in main()476 target_directory = lastfile; in main()527 if (target_directory) in main()[all …]
608 do_copy (int n_files, char **file, char const *target_directory, in do_copy() argument615 if (n_files <= !target_directory) in do_copy()629 if (target_directory) in do_copy()639 else if (target_directory) in do_copy()641 target_dirfd = target_directory_operand (target_directory, &sb); in do_copy()644 quoteaf (target_directory)); in do_copy()653 target_directory = lastfile; in do_copy()679 if (target_directory) in do_copy()719 dst_name = file_name_concat (target_directory, in do_copy()740 dst_name = file_name_concat (target_directory, arg_base, in do_copy()[all …]
785 char const *target_directory = nullptr; in main() local866 if (target_directory) in main()869 target_directory = optarg; in main()919 if (dir_arg && target_directory) in main()941 if (n_files <= ! (dir_arg || target_directory)) in main()955 if (target_directory) in main()965 else if (target_directory) in main()967 target_dirfd = target_directory_operand (target_directory, &sb); in main()971 quoteaf (target_directory)); in main()980 target_directory = lastfile; in main()[all …]