maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   MicroSD - How to move music, photos, etc. to the card? (https://talk.maemo.org/showthread.php?t=75328)

fahadj2003 2011-07-31 00:39

Re: MicroSD - How to move music, photos, etc. to the card?
 
i'd jus use filebox and mount the mmc to /and or something or the builtin file manager works just as fine..

shadowjk 2011-07-31 13:20

Re: MicroSD - How to move music, photos, etc. to the card?
 
Suggesting xterm commands to beginners seems like a stupid idea.

The filemanager approac:

Open file manager,

* find the directory you want to copy to sd:
tap n900,
longtap (tap, dont release, hold, wait for menu) Camera
select copy from the menu

* select destination:
tap the left-up pointing arrow
tap memory card
tap memory card

trlopes1974 2011-07-31 14:00

Re: MicroSD - How to move music, photos, etc. to the card?
 
It's not stupid. It is the faster way to get the results he wants. He does have an n900 with a linux os, so he should at least know what is a xterm and some basic commands.
So don't be an *** and by citicizing someone tha gave a perfectly valid answer.

n0ak 2011-08-03 11:37

Copying files to memory card MicroSD!!!
 
So the problem is I don't have an USB port for my n900 it's broken so I can't put the files from the copmuter on my phone or other way. So i bought MicroSD card 2 gb do do it..
But there seem to be a problem with x-terminal when I type in this.
Guys told me that this command is for putting all image files to MicroSD card.. See post here ______ http://talk.maemo.org/showthread.php?t=75328

Type (or copy and paste):
Code:
cd /home/user/MyDocs/
and press enter. This tells the console to move to the directory in which your photos etc are likely to be stored.

Type (or copy and paste):
Code:
find . -name "*.jpg" -print -exec cp -R {} /media/mmc1 \;

Above in the RED when I type in this x-term says
find: unrecognized: -exec
BusyBox v1.10.2 (debian 3:1.10.2.legal-losso30+0m5) multi-call binary

Usage: find [PATH...] [EXPRESSION]


Help me please guys I realy need to put my all files PICS VIDEOS etc.. into my memory card,.. So that I can put my phone into service.. And I can be sure that my files are not lost.. Thanks I will realy appreciate ur answers ;)

jedi 2011-08-03 11:41

Re: Copying files to memory card MicroSD!!!
 
Quote:

Originally Posted by n0ak (Post 1063363)
So the problem is I don't have an USB port for my n900 it's broken so I can't put the files from the copmuter on my phone or other way. So i bought MicroSD card 2 gb do do it..
But there seem to be a problem with x-terminal when I type in this.
Guys told me that this command is for putting all image files to MicroSD card.. See post here ______ http://talk.maemo.org/showthread.php?t=75328

Type (or copy and paste):
Code:
cd /home/user/MyDocs/
and press enter. This tells the console to move to the directory in which your photos etc are likely to be stored.

Type (or copy and paste):
Code:
find . -name "*.jpg" -print -exec cp -R {} /media/mmc1 \;

Above in the RED when I type in this x-term says
find: unrecognized: -exec
BusyBox v1.10.2 (debian 3:1.10.2.legal-losso30+0m5) multi-call binary

Usage: find [PATH...] [EXPRESSION]


Help me please guys I realy need to put my all files PICS VIDEOS etc.. into my memory card,.. So that I can put my phone into service.. And I can be sure that my files are not lost.. Thanks I will realy appreciate ur answers ;)

The busybox version of the find command does not support the '-exec' arg.

You could try something like:
Code:

for x in *.jpg; do mv $x /media/mmc1/ ; done
- which will move all the jpg files in the current dir to your SD card.

EDIT: and there was no need to create a new thread - why not continue on the last thread you created on the exact same subject?!

vi_ 2011-08-03 11:55

Re: Copying files to memory card MicroSD!!!
 
Quote:

Originally Posted by n0ak (Post 1063363)
So the problem is I don't have an USB port for my n900 it's broken so I can't put the files from the copmuter on my phone or other way. So i bought MicroSD card 2 gb do do it..
But there seem to be a problem with x-terminal when I type in this.
Guys told me that this command is for putting all image files to MicroSD card.. See post here ______ http://talk.maemo.org/showthread.php?t=75328

Type (or copy and paste):
Code:
cd /home/user/MyDocs/
and press enter. This tells the console to move to the directory in which your photos etc are likely to be stored.

Type (or copy and paste):
Code:
find . -name "*.jpg" -print -exec cp -R {} /media/mmc1 \;

Above in the RED when I type in this x-term says
find: unrecognized: -exec
BusyBox v1.10.2 (debian 3:1.10.2.legal-losso30+0m5) multi-call binary

Usage: find [PATH...] [EXPRESSION]


Help me please guys I realy need to put my all files PICS VIDEOS etc.. into my memory card,.. So that I can put my phone into service.. And I can be sure that my files are not lost.. Thanks I will realy appreciate ur answers ;)

Code:

find . -name "*.jpg" -print | xargs cp -R {} /media/mmc1 \;
or

Code:

find . -name "*.jpg" -print | xargs -I{} cp "{}" /media/mmc1
Or somthing

lol, I dunno.

n0ak 2011-08-03 13:57

Busybox x-term ..
 
Busybox doesn't work with -exec when you type in x-term so what I must do to get -exec working.. please help guys.. Can't get command done

vi_ 2011-08-03 14:01

Re: Busybox x-term ..
 
How about you look at the solutions provided to you in the thread you first asked this question?

n0ak 2011-08-03 14:03

Re: Busybox x-term ..
 
Quote:

Originally Posted by vi_ (Post 1063444)
How about you look at the solutions provided to you in the thread you first asked this question?

Yes I know but didn't help me at all :(

vi_ 2011-08-03 14:08

Re: Busybox x-term ..
 
Quote:

Originally Posted by n0ak (Post 1063448)
Yes I know but didn't help me at all :(

What do you mean it didn't help?

Code:

find . -name "*.jpg" -print0 | xargs -0 -I {} cp {} /media/mmc1
There is a more or less simple way to do this, half the work has been done for you. Just fiddle the above till it works.

Read up about find, xargs, cp, what all the flags do etc.

Must try harder FFS!


All times are GMT. The time now is 11:19.

vBulletin® Version 3.8.8