D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] copying files from a camera. using a shell script



On Sat, 2004-08-07 at 11:44, paul sutton wrote:
Hi
I get the following error message,  I don't understand the bit about cannot 
stat

mount: /dev/sda1 is not a valid block device
total 0
cp: cannot stat `/media/camera/*.*': No such file or directory
total 0


Hi Paul,

I've limited experience of programming, albeit none of scripting in this
manner for Linux.  I would guess that the script is interpreting *.* as
a folder name for some reason and not the wildcard expression for "all
files".  Could you remove the *.* and see if it then copies the entire
folder?

Kind regards,

Julian


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly