Nokia N800 Tip: Create Link in Home to Memory Cards

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, 140 views • Leave a comment

Trackback address for this post:

This is a captcha-picture. It is used to prevent mass-access by robots.

Please enter the characters from the image above. (case insensitive)

Comments, Trackbacks, Pingbacks:

No Comments/Trackbacks/Pingbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
This is a captcha-picture. It is used to prevent mass-access by robots.

Please enter the characters from the image above. (case insensitive)

May 2008
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
        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 31

Cow. Chicken. Bell.

Cow. Chicken. Bell.

Search

Misc

XML Feeds

What is this?

powered by
b2evolution