thanks
On Wed, 20 Dec 2000, Thornton Prime wrote:
>
> On Wed, 20 Dec 2000, Andrew So Hong-pong wrote:
>
> > All,
> >
> > I would like to write a script for backup purpose. I have a file
> > which contains all the backup files list like,
> >
> > # cat file.lst
> > ./a/foo.c
> > ./b/c/voo.c
> >
> > At all, how can redirect this file list to perform the tar command
>
>
> The tar man page reports the flag:
>
> -T, --files-from F
> get names to extract or create from file F
>
> You could probably also do something like
>
> tar cv `cat file.lst` > mytarfile.tar
>
> thornton
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
--
Andrew H.P. So
[EMAIL PROTECTED]
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list