locate is the main command in the mlocate package. It is used to search for files, by default by a substring of their full path, based on a database populated by the updatedb command.
Questions tagged [locate]
263 questions
0
votes
2 answers
Locating a color in an array in c
int locate_color( const uint8_t array[],
unsigned int cols,
unsigned int rows,
uint8_t color,
unsigned int *x,
unsigned int *y )
{
for (int z = 0; z < rows; z++)
{
for (int c…

user3880587
- 69
- 2
- 12
0
votes
1 answer
Selenium Java How locating element issue?
I have some problems locating elements into a web page like this:
…

Yoz
- 15
- 2
0
votes
3 answers
Perl library path/s
I need to find the location of my perl library/libraries how can I do this?
Something similar to what this gives you for python...
python -c "import sys; print sys.path"
Thanks

Nitro
- 1,263
- 4
- 16
- 37
0
votes
4 answers
Locate and edit the main HTML file in magento store
I need to add a shadow effect png picture to the top banner in my Magento website tamween.biz, I could do this on my local server using firebug by adding a new class in the right coding area and I have made all selector properties in the…

Bassem
- 5
- 1
- 6
0
votes
2 answers
select locate not working well
Not sure how to explain this. I have the following sample table
id participants
13 128, 125
18 122, 125
29 182, 125
34 17, 12
38 18, 15
I want to get a count of the messages where 12 is on the…

mr_j
- 125
- 1
- 15
0
votes
1 answer
Dynamic Locate All Files and replace with specific file script
I've been trying to get the syntax right, but I'm having issues. Not only am I not getting the syntax right, but I would like this script to:
Locate all files of a certain criteria on All Drives in a network
check to see if the file is the updated…

cmdnoob
- 1
0
votes
1 answer
Is it possible to locate android device by guid?
Is it possible to locate android device by guid? I mean the city where the device currently located or the coordinates ( longitude latitude )

Natalie
- 441
- 1
- 6
- 17
0
votes
1 answer
Can Not Locate Any File In Applications Via Terminal
I am trying to access my Android SDK in my Applications folder on my Mac via Terminal. However, While I can access Applications, I can not access my SDK nor any other file in Applications.
What Am I doing incorrectly?
I use the "cd fileName" to…

RenMan3000
- 21
- 1
- 4
0
votes
2 answers
Can't locate Moo.pm in @INC
I am trying to run a .pm program in dzsoft perl editor. but i got this error
Can't locate Moo.pm in @INC (@INC contains: C:\Users\123\Desktop\ C:/Perl64/site/lib C:/Perl64/lib .) at UniNE.pm line 5.
My interpertor is…

user3496654
- 101
- 1
- 3
- 12
0
votes
2 answers
Find a specific sub-string inside MySQL field
I have a database with 1 column that has text fields. I need to find and mount a new column with a specific substring. My English isn't good, so I'll try to explain below.
Example of 1 field:
Lorem ipsum dolor sit amet, consectetuer adipiscing…

Leibovich
- 7
- 6
0
votes
2 answers
Can I do an app like Find my iphone in iOS?
I want to create an app which has the following features.
Track friends / family members location
Locate/track the stolen device location
Lock the device, delete the device datas by using desktop or by SMS.
Most of the above features are provided…

Confused
- 3,846
- 7
- 45
- 72
0
votes
1 answer
How to locate a string while is running .read() on Python?
i'm using urllib2
try:
msmalvo = urllib2.urlopen(website)
except URLError as e:
msmalvo = e
if msmalvo.code == 200:
if msmalvo.read() == '':
print 'Exits!'
else:
print 'Don't exist'
else:
print ' '
…

Milbol
- 77
- 7
0
votes
6 answers
JAVA: Trouble putting values into a toString method
My method locateLargest() as show below is a method to find the coordinates of my largest value in my array. I'm having trouble putting the return values into a toString method. I have no idea how to format it into the toString method.
public…

user3002906
- 33
- 5
0
votes
2 answers
Complicated query - help NEEDED!
really hope someone can help me on this one!
I have 6 tables:
Products
prodid
Prodequipment
prodid
equipclassmain
equipclassor
Equipclasses
classid
Equipfunctions
equipid
classid
Equipment
equipid
Workshopequipment
workshopid
equipid
Products – a…

user2169059
- 11
- 3
0
votes
2 answers
Can't locate perl module in @inc even though error message says its in @inc
I'm trying to execute a perl script and I've gotten it to work before when I run it in the folder it's located in... ie, the following works.
\higherFolder\folder>UpdateTestCasesScript.pl Test.feature Test_Cases.xls
Buuuuut when I try to run this…

Alyssa Sallean
- 11
- 1
- 2