• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/file_cmds-242/pax/

Lines Matching +defs:temp +defs:file +defs:name

20  * 3. Neither the name of the University nor the names of its contributors
102 * name, blksz, hdsz, udev, hlk, blkagn, inhead, id, st_read,
280 * interactive file rename
322 * specify file characteristic options
334 * preserve user id, group id, file
356 * preserve file mode bits
377 * file name substitution name pattern
416 tmp.name = optarg;
426 (void)fprintf(stderr, " %s", fsub[i].name);
454 * On extraction check file inode change time before the
455 * modification of the file name. Non standard option.
477 * archive by group (gid or name)
530 * archive by user (uid or name)
540 * do not pass over mount points in the file system
547 * On extraction check file inode change time after the
548 * modification of the file name. Non standard option.
556 * modification of the file name. Non standard option.
679 char *file;
758 * preserve uid/gid and file mode, regardless of umask
778 * file name substitution name pattern
799 * interactive file rename
843 incfiles[nincfiles - 1].file = optarg;
860 * do not pass over mount points in the file system
902 /* Traditional tar behaviour (pax wants to read file list from stdin) */
915 char *file, *dir = NULL;
922 * Anything else must be a file to
926 file = incfiles->file;
933 file = *argv++;
936 file = NULL;
937 if (file != NULL) {
941 if (strcmp(file, "-") == 0)
943 else if ((fp = fopen(file, "r")) == NULL) {
944 paxwarn(1, "Unable to open file '%s' for read", file);
952 if (strcmp(file, "-") != 0)
955 paxwarn(1, "Problem with file '%s'", file);
970 * on a file-by-file basis, else, just one
990 char *file, *dir = NULL;
995 * flags. Anything else must be a file to include
999 file = incfiles->file;
1006 file = *argv++;
1009 file = NULL;
1010 if (file != NULL) {
1020 if (strcmp(file, "-") == 0)
1022 else if ((fp = fopen(file, "r")) == NULL) {
1023 paxwarn(1, "Unable to open file '%s' for read", file);
1030 if (strcmp(file, "-") != 0)
1033 paxwarn(1, "Problem with file '%s'",
1034 file);
1243 * file with patterns to extract or list
1246 paxwarn(1, "Unable to open file '%s' for read", optarg);
1254 paxwarn(1, "Problem with file '%s'", optarg);
1277 tmp.name = optarg;
1285 (void)fprintf(stderr, " %s", fsub[i].name);
1392 return(strcmp(((const FSUB *)a)->name, ((const FSUB *)b)->name));
1432 (void)fprintf(stderr, "\t%s = %s\n", opt->name, opt->value);
1434 (void)fprintf(stderr, "\t%s := %s\n", opt->name, opt->value);
1436 (void)fprintf(stderr, "\t%s\n", opt->name);
1445 * breaks the value supplied to -o into an option name and value. Options
1446 * are given to -o in the form -o name-value,name=value
1449 * 0 if format in name=value format, -1 if -o is passed junk.
1462 paxwarn(0, "Invalid option name");
1472 * break into name and values pieces and stuff each one into a
1490 opt->name = frpt;
1510 * breaks the value supplied to -o into a option name and value. options
1511 * are given to -o in the form -o name-value,name=value
1514 * 0 if format in name=value format, -1 if -o is passed junk
1527 paxwarn(0, "Invalid option name");
1537 * break into name and values pieces and stuff each one into a
1560 opt->name = frpt;
1658 char *name, *temp;
1661 name = fgetln(f, &len);
1662 if (!name) {
1666 if (name[len-1] != '\n')
1668 temp = malloc(len);
1669 if (!temp) {
1673 memcpy(temp, name, len-1);
1674 temp[len-1] = 0;
1675 return(temp);
1706 " [-x format] [--insecure] [file ...]\n"
1708 " [-T range] [-U user] [--insecure] [file ...] directory\n",
1723 " [blocking-factor | archive | replstr] [-C directory] [-I file]\n"
1724 " [file ...]\n"
1726 " [-C directory] [-f archive] [-I file] [-s replstr] [file ...]\n",
1741 " [-O archive] < name-list [> archive]\n"
1742 " cpio -i [-6BbcdfjmrSstuvZz] [-C bytes] [-E file] [-F archive] [-H format]\n"
1744 " cpio -p [-adLlmuv] destination-directory < name-list\n",