![]() ![]() Next, I attempted to locate a file which I had created in my home folder, being navigated to my home folder at the time. That happened on the video too, so I assume the database got updated, especially because the delay after issuing the command was so long. Īs expected, after I had put in my password I received no output, just the normal command line prompt. It didn't explain why I would have to update the database first, but I used the updated command, added a superuser permission, eg. I am stuck using the locate command, which I was learning about from a tutorial on youtube. Last edited by vanadium June 9th, 2021 at 05:07 PM.Hello all Linuxers who are not so advanced in the knowledge as to be unable to communicate with someone with little old me, who has such rudimentary knowledge he doesn't know what a tarball is. Once the file is found, you can open the folder where it resides with the shortcut key Ctrl+Alt+O (and of course also from the right-click menu). So if you know the folder under which the file exist, it is best to first go there, then search the file. Obviously, because of how this works, the search will be faster if you are more closely to the target. If is sufficient to be in the root of the mounted drive to search it completely. This is a recursive search, i.e., search is from the current folder into all subfolders. That "Search" works from the Application Overview as well.Īlternatively, you can search quite quickly by name in Files. To use an external drive, you should mount it automatically during startup (instead of only when you click on it in files) and then add the mounted folder to "Search locations" in "Settings" - "Search". That is configured to index and find files in your home folder. The Ubuntu desktop includes an indexed search powered by tracker. ![]() I use find to create an index of music files to build a playlist every week, then feed list into a player for background music while I work. The results can be passed onto other commands for processing, deletion or just saved to a file for later. ExplainShell accepts commands, then looks up the command and the options in the manpages to show what each means.įind is very powerful, but can be unwieldy. When you have a 'find' command, plug it into to see what it really will do. The name, type (file or directory or link), size, owner, group, permissions, creation, modification or access times and a bunch of other things. Find can search for almost anything known about a file. 'find' isn't intuitive - to understand how it can be used, probably best to google for "top 50 find commands" or something like that. Compared to pre-indexed files, it is very slow as it traverses all the directory trees looking for patterns. If you want a non-indexed solution, which will have to scan the entire directory tree for all disks connect, then 'find' is the only tool I know. ![]() I know that Mate has a file search tool included. This index takes much longer and is dependent on helper applications to access the internals for all the different types of files that aren't plain text. locate honors access permissions, so no result will be provided to any userid that doesn't have read permissions on the file to be provided in the results list.Īlso use recoll, for looking inside files and file metadata for stuff. OTOH, to get search results is instantaneous. In my setup, it will not index portable/usb media, so I think if that is desired, the modifying the /etc/updatedb/config file will be needed. It updates the filename DB daily, automatically using the updatedb command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |