tar question

From: Rolf Wester (wester_at_ilt.fraunhofer.de)
Date: 11/26/03


Date: Wed, 26 Nov 2003 16:15:24 +0100

Hi,

I have a list of files in a *.txt file (1 full path per line) that I
would like to tar. I tried:

cat files.txt | tar cvf files.tar

and

tar cvf files.tar < files.txt

but in both cases I got the message:

tar: Cowardly refusing to create an empty archive

I guess I did something wrong. I would be very appreciative for help.

Regards

Rolf Wester



Relevant Pages

  • Re: FP Transfer
    ... can do that in the interactive mode, and there are too large a number ... of files to fit them all onto one command line. ... I use the tar from http://unxutils.sourceforge.net/ but many others exist. ... tar cvf transfer.tar thisfolder otherfolder ...
    (comp.unix.sco.misc)
  • Re: tar question
    ... >> Rolf Wester ... > this is not a tar question. ... cat files.txt | xargs tar cvf files.tar ...
    (comp.os.linux.misc)
  • Re: find... tar.. gzip...
    ... > Find will execute a separate 'tar cvf' for each of the files found, ... > tar is for creating the archive, which will overwrite any previous file ... and at least the tar implementation I used to test ... > could be to use rvf instead of cvf in the above tar command. ...
    (comp.unix.shell)
  • Re: tar...? Re: [opensuse] Ideas on disk cloning?)
    ... tar includes hidden files. ... be a major improvement. ... tar cvf archive.tar $HOME/* ...
    (SuSE)
  • Re: tar question
    ... Rolf Wester wrote: ... > would like to tar. ... > tar cvf files.tar < files.txt ... this is not a tar question. ...
    (comp.os.linux.misc)