maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   howto wget -r -O to save files to /media/mmc1/.. (https://talk.maemo.org/showthread.php?t=22639)

darius2 2008-08-07 15:38

howto wget -r -O to save files to /media/mmc1/..
 
Hi,

run today wget in recursive mode -r
tried hard to save www tree to /media/mmc1
unfortunately I can not (not supported message).

Any chance to change things as wget downloads files to internal flash memory making it full quickly.

Darius

ace 2008-08-07 16:12

Re: howto wget -r -O to save files to /media/mmc1/..
 
Try the "-P" option.

darius2 2008-08-07 16:44

Re: howto wget -r -O to save files to /media/mmc1/..
 
Thanks.
Exactly the right solution.
Just trying it.
In the meantime copied saved www from internal memory to media card
and status of *.html has been changed to
Read-only file system (30)
"Cannot delete file "/media/mmc1/..... html"

Asterisk appended to each file.
Any solution ?

Now I can't mkdir in /media/mmc1
Read-only file system (30) ???

Darius

Quote:

Originally Posted by ace (Post 211221)
Try the "-P" option.


darius2 2008-08-07 16:56

Re: howto wget -r -O to save files to /media/mmc1/..
 
Hi,
(update 2)

tried
wget -r -P www.google.com /media/mmc1/cnn


/media/mmc1/cnn : Unsupported scheme. (message)

Cannot write to `/media/mmc1/www.google.com/index.html`
(No such file or directory)

Darius


Quote:

Originally Posted by ace (Post 211221)
Try the "-P" option.


ace 2008-08-07 16:57

Re: howto wget -r -O to save files to /media/mmc1/..
 
Run "mount" in a terminal and see if the card is truly mounted read-only, if so, then I'd try running a filesystem check on the flash card, the filesystem might be a bit corrupt.

ace 2008-08-07 16:59

Re: howto wget -r -O to save files to /media/mmc1/..
 
Quote:

Originally Posted by darius2 (Post 211235)
tried
wget -r -P www.google.com /media/mmc1/cnn

It should be "wget -r -P dir site". And I expect the directory must exist before trying to save to it.

darius2 2008-08-07 17:10

Re: howto wget -r -O to save files to /media/mmc1/..
 
exactly.
/dev/mmcblk... on /media/mmc1 type vfat (rw...

any .deb , .txt , .sh file on media/mmc1
is asterisked now

fsck not found BusyBox, sh, bash ..
Any idea ?

Darius
Quote:

Originally Posted by ace (Post 211236)
Run "mount" in a terminal and see if the card is truly mounted read-only, if so, then I'd try running a filesystem check on the flash card, the filesystem might be a bit corrupt.



All times are GMT. The time now is 09:28.

vBulletin® Version 3.8.8