SUMMARY: CPIO/GZIP script help
2007-12-24 23:54:00
It was my typo error (empty head), still I wasn't
disappointed by sending it to the list because you get
different feedbacks/ways of doing things. Thanks goes
to :
Lumpkin, Buddy
David Foster
Robert L. Harris
Matthew Stier
ddunham at tsg.taos.com
JULIAN, JOHN C (AIT)
Christian Iseli
for their valuable time. I am going to avid using cat
as Darren suggested below.
cpio -ocv < /tmp/myfiles.txt | gzip -c >
/mydir/myfile.cpio.gz
Thanks
Uman
--- UmanS <kedaran0504 at yahoo.com.au> wrote: >
Hi Managers/Gurus,
>
> Currently I am backing up some files in the
> following
> way:
> find /mypath1 /mypath2 -depth -print |cpio -ocv
> |gzip
> >/mydir/myfile.cpio.gz (about 2gb file)
>
> Now I want to run this as
>
> cat `/tmp/myfiles.txt` |cpio -ocv |gzip
> >/mydir/myfile.cpio.gz
>
> Problem is in this method gzip doesn't work. Any
> help
> is appreciated.
>
> Thanks
> Uman
>
> http://careers.yahoo.com.au - Yahoo! Careers
> - 1,000's of jobs waiting online for you!
>
http://careers.yahoo.com.au - Yahoo! Careers
- 1,000's of jobs waiting online for you!
Comments
Got something to say?
You must be logged in to post a comment.

