tar input list of files

I have a list of files that need to be tarred
I think the syntax is with the - I but don't remember exactly how it goes


tar -cvf -I (file with list of files to tar) tarname.tar

something like that but can't get it to work
LVL 1
bkreynolds48Asked:
Who is Participating?
 
woolmilkporcConnect With a Mentor Commented:
Which is your OS?

With AIX tar it's "-L"

tar -cvf tarname.tar -L file-list

With Solaris tar it's "-I"

tar cvf tarname.tar -I file-list

Please note: No leading dash "-" before "cvf" on Solaris!

HPUX tar doesn't have such an option.
0
 
bkreynolds48Author Commented:
Yeah - thank you - I used to be on Solaris now on AIX - did not know that tar was different on these two
0
All Courses

From novice to tech pro — start learning today.