OpenQNX :: The QNX Community Portal

May 13, 2008 - 12:18 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 59 unlogged users and 2 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
koenh
Post subject: search images  PostPosted: Feb 03, 2008 - 07:13 AM
New Member


Joined: Jan 28, 2008
Posts: 4

Hello,

On my QNX harddisk, i know that there ars some images (pictures), but i can't find them.
I need to export them (via FTP) to my windows machine to edit them.
I have some questions for this.

How can i find the images: What is the search command and how do i specify that i search images?
Will i be able to edit them under windows and replace them with the newer file?

grz
 
 View user's profile Send private message  
Reply with quote Back to top
thegman
Post subject:   PostPosted: Feb 03, 2008 - 06:58 PM
Senior Member


Joined: Jun 15, 2003
Posts: 437

You could either use the "find" command on the Terminal/Console or use the graphical search utility that comes with a standard QNX install.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
koenh
Post subject:   PostPosted: Feb 04, 2008 - 06:17 AM
New Member


Joined: Jan 28, 2008
Posts: 4

tx for the reply.
It will be the find command, because i have no graphical interface.

And how can i find images? i don't know the extension...

grz
 
 View user's profile Send private message  
Reply with quote Back to top
mario
Post subject:   PostPosted: Feb 04, 2008 - 06:59 AM
QNX Master


Joined: Sep 01, 2002
Posts: 2667

If you don't know the extension it can get difficult.

JPEG files have in their header the string "JFIF", so you could look of that

The command strings extract ascii string from files, the command grep will look for a string. Get creative Wink

If you a relooking for other type of graphics files, bmp, gif, try to see if their header have something you can look for.

If you know when the files were written, you can looks for file with a specific data or more recent then a specified date.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
micro
Post subject:   PostPosted: Feb 04, 2008 - 03:17 PM
Senior Member


Joined: Jul 22, 2004
Posts: 315

You can also use the "file" command on every found file and then grep for an expression. i would start looking for the files in your home directories /home/* and/or /root
Where do you use this pictures? If they are used in Apps they can also be bound into the app itself. Then you would need the Widget-files for editing them with PhAB.
If they were uploaded by someone, you should try /tmp and /home/*.
If they are shipped with the OS itself, try looking under /usr/*.

Just make sure to figure out what images you are looking for first and then check the coressponding places.

It would not make sense to upload self-generated files to /usr/lib/* for example. This should shorten your search a lot Razz
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.