diff -u -r cpio-2.4.2/copyin.c cpio-2.4.2sp/copyin.c --- cpio-2.4.2/copyin.c Fri Oct 5 20:57:36 2001 +++ cpio-2.4.2sp/copyin.c Fri Oct 5 20:58:04 2001 @@ -526,6 +526,8 @@ { tape_toss_input (in_file_des, file_hdr.c_filesize); tape_skip_padding (in_file_des, file_hdr.c_filesize); + if (verbose_skip_flag) + fprintf (stderr, "skipping: %s\n", file_hdr.c_name); } else if (table_flag) { Only in cpio-2.4.2sp/: cpio.info diff -u -r cpio-2.4.2/cpio.texi cpio-2.4.2sp/cpio.texi --- cpio-2.4.2/cpio.texi Fri Oct 5 20:57:36 2001 +++ cpio-2.4.2sp/cpio.texi Fri Oct 5 20:58:22 2001 @@ -259,7 +259,7 @@ [-M message] [-O [[user@@]host:]archive] [-F [[user@@]host:]archive] [--file=[[user@@]host:]archive] [--format=format] [--message=message][--null] [--reset-access-time] [--verbose] -[--dot] [--append] [--block-size=blocks] [--dereference] +[--verbose-skip] [--dot] [--append] [--block-size=blocks] [--dereference] [--io-size=bytes] [--rsh-command=command] [--help] [--version] < name-list [> archive] @end example @@ -284,9 +284,9 @@ [--file=[[user@@]host:]archive] [--make-directories] [--nonmatching] [--preserve-modification-time] [--numeric-uid-gid] [--rename] [--list] [--swap-bytes] [--swap] -[--dot] [--unconditional] [--verbose] [--block-size=blocks] -[--swap-halfwords] [--io-size=bytes] [--pattern-file=file] -[--format=format] [--owner=[user][:.][group]] +[--dot] [--unconditional] [--verbose] [--verbose-skip] +[--block-size=blocks] [--swap-halfwords] [--io-size=bytes] +[--pattern-file=file] [--format=format] [--owner=[user][:.][group]] [--no-preserve-owner] [--message=message] [--help] [--version] [-no-abosolute-filenames] [--sparse] [-only-verify-crc] [-quiet] [--rsh-command=command] [pattern...] [< archive] @@ -307,9 +307,9 @@ cpio @{-p|--pass-through@} [-0adlmuvLV] [-R [user][:.][group]] [--null] [--reset-access-time] [--make-directories] [--link] [--preserve-modification-time] [--unconditional] [--verbose] -[--dot] [--dereference] [--owner=[user][:.][group]] [--sparse] -[--no-preserve-owner] [--help] [--version] destination-directory -< name-list +[--verbose-skip] [--dot] [--dereference] [--owner=[user][:.][group]] +[--sparse] [--no-preserve-owner] [--help] [--version] +destination-directory < name-list @end example @@ -522,6 +522,9 @@ archive, user and group names in the archive that do not exist on the local system are replaced by the names that correspond locally to the numeric UID and GID stored in the archive. + +@item -w, --verbose-skip +List the files not processed. @item -V --dot Print a @kbd{.} for each file processed. diff -u -r cpio-2.4.2/extern.h cpio-2.4.2sp/extern.h --- cpio-2.4.2/extern.h Fri Oct 5 20:57:36 2001 +++ cpio-2.4.2sp/extern.h Fri Oct 5 20:58:29 2001 @@ -29,6 +29,7 @@ extern int table_flag; extern int unconditional_flag; extern int verbose_flag; +extern int verbose_skip_flag; extern int dot_flag; extern int link_flag; extern int retain_time_flag; diff -u -r cpio-2.4.2/global.c cpio-2.4.2sp/global.c --- cpio-2.4.2/global.c Fri Oct 5 20:57:36 2001 +++ cpio-2.4.2sp/global.c Fri Oct 5 20:58:38 2001 @@ -49,6 +49,9 @@ /* If TRUE, list the files processed, or ls -l style output with -t. (-v) */ int verbose_flag = FALSE; +/* If TRUE, list the files not processed. (-w) */ +int verbose_skip_flag = FALSE; + /* If TRUE, print a . for each file processed. (-V) */ int dot_flag = FALSE; diff -u -r cpio-2.4.2/main.c cpio-2.4.2sp/main.c --- cpio-2.4.2/main.c Fri Oct 5 20:57:36 2001 +++ cpio-2.4.2sp/main.c Fri Oct 5 20:58:46 2001 @@ -68,6 +68,7 @@ {"reset-access-time", 0, &reset_time_flag, TRUE}, {"unconditional", 0, &unconditional_flag, TRUE}, {"verbose", 0, &verbose_flag, TRUE}, + {"verbose-skip", 0, &verbose_skip_flag, TRUE}, {"version", 0, 0, 131}, #ifdef DEBUG_CPIO {"debug", 0, &debug_flag, TRUE}, @@ -86,29 +87,30 @@ Usage: %s {-o|--create} [-0acvABLV] [-C bytes] [-H format] [-M message]\n\ [-O [[user@]host:]archive] [-F [[user@]host:]archive]\n\ [--file=[[user@]host:]archive] [--format=format] [--message=message]\n\ - [--null] [--reset-access-time] [--verbose] [--dot] [--append]\n\ - [--block-size=blocks] [--dereference] [--io-size=bytes] [--quiet]\n\ - [--force-local] [--rsh-command=command] [--help] [--version] < name-list\n\ - [> archive]\n", program_name); + [--null] [--reset-access-time] [--verbose] [--verbose-skip] [--dot]\n\ + [--append] [--block-size=blocks] [--dereference] [--io-size=bytes]\n\ + [--quiet] [--force-local] [--rsh-command=command] [--help] [--version]\n\ + < name-list [> archive]\n", program_name); fprintf (fp, "\ %s {-i|--extract} [-bcdfmnrtsuvBSV] [-C bytes] [-E file] [-H format]\n\ [-M message] [-R [user][:.][group]] [-I [[user@]host:]archive]\n\ [-F [[user@]host:]archive] [--file=[[user@]host:]archive]\n\ [--make-directories] [--nonmatching] [--preserve-modification-time]\n\ [--numeric-uid-gid] [--rename] [--list] [--swap-bytes] [--swap] [--dot]\n\ - [--unconditional] [--verbose] [--block-size=blocks] [--swap-halfwords]\n\ - [--io-size=bytes] [--pattern-file=file] [--format=format]\n\ - [--owner=[user][:.][group]] [--no-preserve-owner] [--message=message]\n\ - [--force-local] [--no-absolute-filenames] [--sparse] [--only-verify-crc]\n\ - [--quiet] [--rsh-command=command] [--help] [--version] [pattern...]\n\ - [< archive]\n", + [--unconditional] [--verbose] [--verbose-skip] [--block-size=blocks]\n\ + [--swap-halfwords] [--io-size=bytes] [--pattern-file=file]\n\ + [--format=format] [--owner=[user][:.][group]] [--no-preserve-owner]\n\ + [--message=message] [--force-local] [--no-absolute-filenames]\n\ + [--sparse] [--only-verify-crc] [--quiet] [--rsh-command=command]\n\ + [--help] [--version] [pattern...] [< archive]\n", program_name); fprintf (fp, "\ %s {-p|--pass-through} [-0adlmuvLV] [-R [user][:.][group]]\n\ [--null] [--reset-access-time] [--make-directories] [--link] [--quiet]\n\ - [--preserve-modification-time] [--unconditional] [--verbose] [--dot]\n\ - [--dereference] [--owner=[user][:.][group]] [--no-preserve-owner]\n\ - [--sparse] [--help] [--version] destination-directory < name-list\n", program_name); + [--preserve-modification-time] [--unconditional] [--verbose]\n\ + [--verbose-skip] [--dot] [--dereference] [--owner=[user][:.][group]]\n\ + [--no-preserve-owner] [--sparse] [--help] [--version]\n\ + destination-directory < name-list\n", program_name); exit (status); } @@ -350,6 +352,10 @@ case 'v': /* Verbose! */ verbose_flag = TRUE; + break; + + case 'w': /* Verbose Skip! */ + verbose_skip_flag = TRUE; break; case 'V': /* Print `.' for each file. */