Archives for: November 2007, 15

11/15/07

Nokia N800 Tip: Create Link in Home to Memory Cards

01:42:08 pm, Categories: Linux, Nokia N800  

The way I copy files to my N800 is via SecureShell using scp. As I keep most of my files on memory cards, I wanted a quick way of telling scp to put it there rather than the home directory. I decided on just throwing a symbolic link (kind of like a shortcut for you Windows folks) to the two card mount points.

I am assuming you already have a terminal and ssh server installed and configured.

The mount points for the external and internal memory cards are /media/mmc1 and /media/mmc2, respectively. To create links to these, open a terminal window and type the following two commands:

~ $ ln -s /media/mmc1 ~/mmc1
~ $ ln -s /media/mmc2 ~/mmc2

Now if you want to move stuff.tar.gz to the files directory on the internal memory card, you would use the following command:
user@desktop:~$ scp files/stuff.tar.gz user@ip.of.n.800:mmc2/files/stuff.tar.gz

If at any point in time you want to get rid of the links, simply do a rm ~/mmc1. Only the link will be deleted, the data on your card stays intact.

Permalink 191 words by Felix The Kraut, 143 views • Leave a comment

November 2007
Sun Mon Tue Wed Thu Fri Sat
 << < Current> >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  

Cow. Chicken. Bell.

Cow. Chicken. Bell.

Search

Misc

XML Feeds

What is this?

powered by
b2evolution