One line of code, what's wrong ?
From: RICHARD BROMBERG (dickbrom_at_worldnet.att.net)
Date: 06/28/05
- Next message: jl: "Lynx Browser, fun stuff"
- Previous message: Andy Fraser: "Re: review of Linspire"
- Next in thread: Chris F.A. Johnson: "Re: One line of code, what's wrong ?"
- Reply: Chris F.A. Johnson: "Re: One line of code, what's wrong ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Jun 2005 17:02:10 GMT
I am using Knoppix 3.8.2
I am using the following code in a terminal window to copy all files with
the .doc extension from a hard drive to an external USB device.
This was suggested to me at another news group.
$ (cd /mnt/hda1; find . -name '*.doc' | xargs tar cf - ) |
> (cd /mnt/udd1; tar xf - )
I get an error that says :
bash: syntas error near unexpected token '('
Would appreciate any help
Thanks
- Next message: jl: "Lynx Browser, fun stuff"
- Previous message: Andy Fraser: "Re: review of Linspire"
- Next in thread: Chris F.A. Johnson: "Re: One line of code, what's wrong ?"
- Reply: Chris F.A. Johnson: "Re: One line of code, what's wrong ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]