11-04-05 10:57 PM
david@tvis.co.uk wrote:
> Hi
> Neither solution works for me
>
> $ zip all.zip $(cat list.txt)
> zip warning: name not matched: x1
> zip warning: name not matched: x2
> zip warning: name not matched: x3
>
> does work if I join all the lines of list.txt into one long line eg
> x1 x2 x3
>
I guess you have created a DOS style .txt file.
Then convert to Unix via "dos2unix".
E.g.
dos2unix list.txt | xargs zip all.zip
--
Michael Tosch @ hp : com
[ Post a follow-up to this message ]
|