Reply
Thread Tools
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#21
Originally Posted by n0ak View Post
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
Please stop creating new threads on this same subject.

You mean the find command provided by busybox does not support the -exec parameter. This has already been explained and more than one work-around already provided.
__________________
May the source be with you.
 

The Following User Says Thank You to jedi For This Useful Post:
Posts: 87 | Thanked: 46 times | Joined on Nov 2010 @ lisbon, portugal
#22
Did you ever tryed the bluetooth method????
 
Posts: 122 | Thanked: 2 times | Joined on Jul 2010 @ Latvia, Ireland
#23
Originally Posted by vi_ View Post
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.
ohh yes m8 1st one seemed to work ,but there is still a problem..
all the image files say's cannot create '2.jpg/56454.jpg' : path does not exist .. what can i o with this
 
Posts: 122 | Thanked: 2 times | Joined on Jul 2010 @ Latvia, Ireland
#24
Originally Posted by vi_ View Post
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!
when i type in the command it says the same for all the image files like this - cannot create '2.jpg/5353_00.JPG': PATH DOES NOT EXIST HELP
 
Posts: 122 | Thanked: 2 times | Joined on Jul 2010 @ Latvia, Ireland
#25
Originally Posted by demolition View Post
Seems from what vi_ and jedi have said, you've posted about this already. That is _not_ good behaviour. If you don't get the help you want from the question you ask, re-phrase it. If you've been waiting a while, by all means bump the thread. The nature of the problem will determine the urgency e.g. device still in reboot loop after taking the battery out and putting back in, as well as expecting a call about a new job - ok, repost in an hour. But don't start a new thread just because you didn't get a reply. The only caviat might be that there are occasions where you will post at the end of an old/dead thread and get a lacklustre response, in these cases starting a new thread might be more appropriate because you can ask the question more precisely to your needs. Whatever you do: Use TMO with care: it's fragile.

Not sure it's wise to reward this sort of thing but publishing your findings will probably help others ... lets see what can be done:

What version of busy box are you running?
What are you trying to execute with 'exec'?
THANKS M8 ok I'll do that
Yeah about busy box you'll find out in my earlier thread
 
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#26
Originally Posted by n0ak View Post
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
If Jedi is right, and you do in fact mean that find doesn't support -exec instead of "Busybox doesn't work with -exec", then the answer to how to get -exec working is simple:

Either
a) install findutils-gnu or
b) install busybox-power

Both of those packages will provide you with a find binary that supports -exec. If you go with findutils-gnu: make sure to use /usr/bin/gnu/find instead of /bin/find.

Last edited by iDont; 2011-08-03 at 14:49. Reason: spelling error
 

The Following User Says Thank You to iDont For This Useful Post:
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#27
Code:
find /home/user/ -name "*.jpg" -print | while read this; do cp $this /media/mmc1/; done
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following User Says Thank You to vi_ For This Useful Post:
Posts: 122 | Thanked: 2 times | Joined on Jul 2010 @ Latvia, Ireland
#28
When i try moving files jpg to my MicroSD true x-term it moves couple of them but not all of them.. And space left for microSD is 1.5 gb I have 2 gb MicroSD..
Why does x-term says for all other image jpg files : - No space left on device!!
wtf?? :O help please guys
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#29
Originally Posted by n0ak View Post
When i try moving files jpg to my MicroSD true x-term it moves couple of them but not all of them.. And space left for microSD is 1.5 gb I have 2 gb MicroSD..
Why does x-term says for all other image jpg files : - No space left on device!!
wtf?? :O help please guys
Yet another thread for your moving files issue?

You've run of 'disk' space - it could well be because you've messed up with the various commands you've been given and have ended up duplicating files instead of moving them to your SD card. If you stick with one of the other threads, we might be able to work out what you're doing wrong.

Since you're having so many issues with xterm, why not stick to the first response you got on the first thread you created: Use the built-in file manager?
__________________
May the source be with you.
 
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#30
If you're trying to put them in the root folder of the MicroSD, you'll only be able to store something like 100 files due to limitations of the VFAT/FAT32 filesystem.

As a workaround, create a folder called Pictures on your microsd, and put everything inside that folder.

You might have to temporarily move something away from MicroSD before you can create the folder.
 

The Following 3 Users Say Thank You to shadowjk For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 16:50.