maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   how to find files (including hidden) on n900(permission denied solution)? (https://talk.maemo.org/showthread.php?t=71545)

hathoda 2011-03-27 16:48

how to find files (including hidden) on n900(permission denied solution)?
 
i want to find some .dae files on my n900.but i could not find them manually( i used winscp)

and find command is useless because it only find in the folder (we are working on)

i want to find in the whole system files (including My Docs and and all the hidden files)
can u guide me plz?

shardul 2011-03-27 16:56

Re: how to find files (including hidden) on n900?
 
I will suggest you to try filebox, it is in apps manager

niloy 2011-03-27 16:58

Re: how to find files (including hidden) on n900?
 
find command can search the whole system.

Quote:

find / -name *filename*
Keep the stars in the above command, they act as wildcard.

Use this command to search for .dae files:
find / -name *.dae

Metalov 2011-03-27 17:00

Re: how to find files (including hidden) on n900?
 
You can also cd .. all the way to the root folder and use find | grep 'string' (find | grep .dae in your case).

Pillum 2011-03-27 17:01

Re: how to find files (including hidden) on n900?
 
or try "sudo find -iname '*.dae' /"

9000 2011-03-27 17:07

Re: how to find files (including hidden) on n900?
 
Use locate.

Code:

root
apt-get install locate
gupdatedb
glocate .dae


hathoda 2011-03-27 17:08

Re: how to find files (including hidden) on n900?
 
what when permission denied ??????

casketizer 2011-03-27 17:18

Re: how to find files (including hidden) on n900(permission denied solution)?
 
gupdatedb (not glocate) needs to be run as root and IIRC you have to edit the updatedb script to use gnu find (gfind) instead of busybox's find.
But then it works great. I use it all the time.

hathoda 2011-03-27 17:28

Re: how to find files (including hidden) on n900(permission denied solution)?
 
1 Attachment(s)
Quote:

Originally Posted by casketizer (Post 976689)
gupdatedb (not glocate) needs to be run as root and IIRC you have to edit the updatedb script to use gnu find (gfind) instead of busybox's find.
But then it works great. I use it all the time.

i tried .dae and also *.dae
any help now?

hathoda 2011-03-27 17:41

Re: how to find files (including hidden) on n900?
 
Quote:

Originally Posted by niloy (Post 976675)
find command can search the whole system.

Keep the stars in the above command, they act as wildcard.

Use this command to search for .dae files:
find / -name *.dae

that thing does not find all hidden files or system files
for xample i search for *.wav files in result there are too many files shown but not system files which is in /usr/share/sounds ui-charging_started

but it shows other .wav files which are in same folder but not all files


All times are GMT. The time now is 02:10.

vBulletin® Version 3.8.8