VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
Find And Locate Your Files DistroTube

Find And Locate Your Files DistroTube

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Find And Locate Your Files DistroTube How do search for files or directories in your file system? Well, you could use the find command. You could also use the locate command. - https://linux.die.net/man/1/find - man find - https://linux.die.net/man/1/locate - man locate
Date: 2022-03-30

Comments and reviews: 10


Finding duplicate files is easy - and there's several apps for that. But I'm looking for an app or script that will sort things in such a way that any pairs of directories with a large number of identical files are easily identified. Say I've got a directory of music, and an album got located in a number of places - but some copies of the album have extra tracks that the others don't (Japan release vs. US release, or some such...)
reply

The find command is probably the worst of all Unix tools. It is too bloated, does so many things that have little to do with finding stuff, thus being contrary to Unix philosophy. And it has terrible, inconsistent syntax. Why is --name- not --n- or ---name-?
reply

Thank you, Derek. These great CLI tools, including man pages are why I have no problem with those who insist on saying -Gnu-Linux-. I pronounce the -Gnu- silently but I do always remember it. And always have time for material on the original Unix toolset.
reply

2:09 And you can do a case-insensitive search with -iname instead of -name. Useful if you have files transferred from other systems that end up with uppercase names (e.g. .TXT instead of .txt).
reply

locate - searches a pre-made files database of the filesystem (hence updatedb to update the database beforehand)
find - makes an actual live search on the filesystem (slow on big harddrives)

reply

usually what i do is execute a command afterward like find all ogg files and convert them to mp3 with ffmpeg. but for that i have a script cause i dont memorize that command...
reply

-Read the man page for find-
.
.
.
.
.
.
.
.
.
.
.
-You-re not gonna want to read that gigantic novel of a man page...-
-

reply

How much files you have in locate index? Is it efficient when encountering >8mil files?
Btw nice video. Keep it going to introduce linux fundamentals :)

reply

What is the equivalent on Linux distros for the software you can install on Windows called -Everything-,which is the ultimate instantaneous file search app?
reply

-I don't know your name... I don't know where you are... But I will find you!- -
Edit: perfect name for an application for indexing files - -Taken-

reply
Add a review, comment






Other channel videos