I want to create a tarfile from a filelist.
The filelist has two rows
log1.dat
log2.dat
The shell script looks like:
cd /temp/temp1
tar -cvf test.tar -L inp.txt
All files are stored in the dir temp/temp1.
The qshell throws an error:
no file or directory with the name inp.txt
but the file is there and named inp.txt.
The test.tar is created and the inp.txt is stored in the archive.
I don't want to put the inp.txt in the tarball - I want to store the files listed in the inp.txt.
What's going wrong?
Only the PASE
tarutility accepts[ -L InputList ]as a parameter.Qualify the path to the utility to use the PASE version: