maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   How to copy a file from mmc card to /usr/share/lxdoom/wad (https://talk.maemo.org/showthread.php?t=10310)

suoxin 2007-10-07 16:15

How to copy a file from mmc card to /usr/share/lxdoom/wad
 
I download a file to mmc card and want to copy it to /usr/share/lxdoom/wad. When I use file manager to copy, it reports "access denied". I did use xterm to gain root first. Can anyone let me know how to do the copy? Thanks very much!

lardman 2007-10-07 18:35

Re: How to copy a file from mmc card to /usr/share/lxdoom/wad
 
/usr/share/lxdoom/wad is owned by root so to use the filemanager you'd (probably) need to start that as root.

I'd use the command line if I were you (run as root):

cp /mnt/mmc1/some_file_name_here /usr/share/lxdoom/wad/

Will copy some_file_name to the same name in /usr/share/lxdoom/wad/

You may need to alter mmc1 to mmc2 depending on which SD card you're talking about.


Simon

suoxin 2007-10-07 20:20

Re: How to copy a file from mmc card to /usr/share/lxdoom/wad
 
Thanks very much. I tried your lines. But it reports:
cp: /mnt/mmc1/DOOM1.WAD: No such file or dictory
I changed mmc1 to mmc2 and got same problem. The file "DOOM1.WAD" was saved directly on the memory card and I can saw it in through file manager. Mine is 770 boot from mmc. Please give me some further instructions. Thanks!

Darius2006 2007-10-07 23:31

Re: How to copy a file from mmc card to /usr/share/lxdoom/wad
 
Quote:

Originally Posted by suoxin (Post 80418)
Thanks very much. I tried your lines. But it reports:
cp: /mnt/mmc1/DOOM1.WAD: No such file or dictory
I changed mmc1 to mmc2 and got same problem. The file "DOOM1.WAD" was saved directly on the memory card and I can saw it in through file manager. Mine is 770 boot from mmc. Please give me some further instructions. Thanks!

try
cp: /media/mmc1/DOOM1.WAD:

memory card is media type, already mounted

Darius

suoxin 2007-10-08 13:20

Re: How to copy a file from mmc card to /usr/share/lxdoom/wad
 
It works this time. Thanks!


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

vBulletin® Version 3.8.8