The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
11 views

Locate displaying old files?

My locate command seems to be digging up files which don't exist (old files which I have renamed). sudo locate bus-node.conf /etc/init/start-bus-node.conf sudo mv /etc/init/start-bus-node.conf ...
5
votes
2answers
288 views

How to a open a file in vim using pipe

I get to use the locate command extremely often. So if I run the following command. locate updatedb | head -1 Then it gives me the O/p /usr/updatedb.conf I wonder if there is any such command ...
0
votes
1answer
8 views

How do I find my files from my Windows account?

I've just installed Linux Mint 16 (Cinnamon) on my laptop from disc, and I cannot find my files ANYWHERE, and I'm new totally to Linux so, rookie alert... Also, it does not allow me to choose between ...
1
vote
1answer
86 views

Which tool is most flexible for searching my whole system, locate or mdfind?

Follow-on to Spotlight and the locate command don't search *all* folders: The steps mentioned by Gordon Davisson were performed; .bashrc was entered in the Spotlight search field, and System and ...
0
votes
1answer
78 views

Finding files on mounted disk with locate

I have a small SSD disk with my linux system, and a large IDE disk with most of my work, that is mounted at system start. For some reason I can't seem to find files on the IDE disk using locate. I ...
0
votes
2answers
73 views

Windows alternative to locate on ubuntu

The locate command on ubuntu is so great that I miss it a lot on Windows 7. Do you know of an alternative? Ok I found this but it's not great: ...
3
votes
1answer
397 views

`locate` wildcard strange behavior - why?

locate "*.png" returns all files ending with .png, as expected. locate "test.*" doesn't return anything, but there are files named test in my system. locate "*test" returns all files ending with ...
0
votes
1answer
63 views

Ubuntu 12.04 trashed file disappeared

I just trashed a very large file (250GB) on a Ubuntu 12.04, but I actually wanted to delete it. I emptied the trash, but it seems that the file is still on the disk (the free space didn't change). If ...
2
votes
3answers
5k views

How to display file details (size, date, etc.) from Linux “locate” command?

The (slow) Linux “find” command has an option, “-ls”, to display size, date, etc. like the “ls -l” command. But the “locate” command doesn’t seem to have that. So how can I get the equivalent ...
1
vote
1answer
40 views

Problems with locate

Wondering if someone can enlighten me as I believe that perhaps my expectations are wrong. When I use locate I almost never get what I am expecting. For example... I removed a software package and ran ...
0
votes
1answer
82 views

possible to create a locate database for a network volume?

I need to be able to QUICKLY search through millions of files on a network volume and instead of searching directly I'd like to look up the info in a database. Instead of "rolling my own" it seems ...
3
votes
1answer
1k views

How to run updatedb, excluding some paths, but not removing previous indexed content for those paths?

I have a strange question, and i am not sure this is something doable at all, thats why i am asking it to the SuperUser :) So, imagine that you have your filesystem with some mount points for ...
0
votes
2answers
48 views

Strange 'locate' behavior and icon changing

I'd like to change the icon of a program called Refit with a custom one. This program has various tools and when I try to change those icons all is ok but then I run the following command: $ locate ...
0
votes
1answer
459 views

FreeBSD 9: How to locate an exact filename?

Trying to use locate command to find an exact match for the given pattern. However it results showing all matching files.. For example: I want to find a binary named: node But it gives me all ...
2
votes
3answers
1k views

how to use updatedb command as an ordinary user on linux?

locate command is very useful tool on linux, but it seems only root can run updatedb command, so it will be very unconvinent to use locate command on linux, so how to make ordinary user to have the ...
0
votes
2answers
221 views

linux locate command sort by date

The linux locate command is great at finding files quicky. My question: how can we use the locate command so that the results are returned in date/time order?
1
vote
1answer
357 views

Mac OS X locate command returning nothing

I don't get an error about the db not existing or being populated. I get nothing. I know for a fact that the things I'm searching for exist on my box. I even tried locate bin or locate Users. I get ...
1
vote
5answers
433 views

How to use locate to search for folders only

On a UNIX system, "locate" searches the database for files with chosen name or files within the folder with the chosen name. How can I use locate to output only folders, not files?
1
vote
2answers
2k views

A file shows in “locate” command but don't exist. Why?

I'm having a strange issue. I am currently fixing a flash install on Backtrack 5 (Based on Ubuntu). I really need to get flash to work, so I looked up on google. On some board, one guy said that on ...
0
votes
1answer
226 views

Linux Locate Command false info

I am running Arch Linux and have used the "locate" command quite often to find files. I noticed today, however, that it is bringing up results from where the item has been in the past, not it's ...
6
votes
2answers
5k views

Faster alternatives to “find” and “locate”?

I will like to use "find" and locate" to search for source files in my project, but they take a long time to run. Are there faster alternatives to these programs I don't know about, or ways to speed ...
1
vote
4answers
4k views

Unix-type “locate” on Windows?

Using the Windows CLI (cmd), how does one locate a file that he knows part of the name of? For instance, every single Windows workstation installs javac in a different location, how would one find it ...
3
votes
2answers
620 views

What folders are indexed / covered by 'locate'

On OS X, I think the locate DB is populated by running: sudo /usr/libexec/locate.updatedb But locate does not seem to find anything in or below ~/ Should locate.updatedb be indexing my home folder ...
3
votes
2answers
2k views

Cannot manually update database for locate?

I've been trying to update the databases used by locate on my Macbook (10.6.3 Snow Leopard) but even following the commands shown in this thread hasn't gotten me anywhere. I just get an error from it ...
71
votes
3answers
29k views

What's the equivalent of Linux's updatedb command for the Mac?

If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the ...
6
votes
3answers
3k views

How to use locate in cygwin

I'm trying to use locate to find files, but I'm not getting anything back from the program. It can't even find files that are in the current directory. How do I make locate work?
1
vote
1answer
1k views

How can I make locate/updatedb ignore certain file extensions?

For instance, I don't want either program to find files that end in *.pyc. I'm sure I can do this somehow using regexes or globs, but is there a way to make locate just ignore the files altogether? ...
1
vote
3answers
390 views

locate/updatedb like tool (Linux CLI) for CDs/DVDs

I am looking for a Linux tool to search for files on offline media like CDs and DVDs. I know there are a lot of "cataloging" tools, but those are all graphical and I want a command line program. Ideal ...