e.g. tar cvf file.tar <input file list>??
email to learn...@home.com
Thanks in advance
:> Is there a way to TAR a list of files spread across multiple
Richard, check the man pages for tar. Prior to AIX 4 (meaning in 3.2.5 I
had for so long), the mksysb actually used tar. And this is precisely how
it worked -- it built a list of files in the /tmp filesystem and then
proceeded to tar only those files to tape for me. I'm not positive (don't
have access to my AIX system from home), but I think it's something like a
-L or -l switch.
= Steve =
--
Steve W. Jackson, Montgomery, Alabama
http://www.mindspring.com/~sjacksn/stevehome.html
tar -cvf /dev/rmt0 $( cat input_file_list )
Richard wrote in message <36E03DF3...@home.com>...
It is just:
"tar -c -v -f <file> -L<inputfilelist>"
e.g. "tar -c -v -f /dev/rmt0 -Linputlist.txt"
:> Hi.
:>
:> It is just:
:>
:> "tar -c -v -f <file> -L<inputfilelist>"
:> e.g. "tar -c -v -f /dev/rmt0 -Linputlist.txt"
Yes, it's the -L I could't positively remember. But you don't need all
those other dashes!! Most commonly people will tell you to use "tar -cvf
/dev/rmt0 -Linputlist", but I will tell you that I've adopted the newer
form that doesn't even require the first dash, making it "tar cvf
/dev/rmt0 -Linputlist". Now I should also suggest that you make sure the
contents of the inputlist file are not absolute paths or you could face
troubles extracting things later if you want individual files or
directories.
Markus
Bruce Spencer <basp...@silcon.com> wrote:
> The following will work. However there is a limit on the number file names
> that you can input to the tar command.
> tar -cvf /dev/rmt0 $( cat input_file_list )
> Richard wrote in message <36E03DF3...@home.com>...