Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am sure this is an old subject, but searching the forums did not bring enlightenment either I must be cursed today.
I find myself in need of file search after going without for a long time.
But now that I do need it, i'm encountering some stumblers;
1. Using KDE 3.x as the window manager
2. Beagle is installed and active.
3. Locate is installed, but seems to be broken (only produces errors).
4. From within Konqueror, using either Locate/Beagle/Google from the left-hand pane under 'More...' always results in a warning stating i'm about to send data unencrypted to the internet, which apparently is.. "http://www.ask.co.uk", which also errors out (timeout, unknown host) because I am behind a proxy which is not configured in Konqueror, I use Firefox if I want to browse the web.
All I wanted was to search for was evil Thumbs.db files generated by Windows XP in folders containing pictures, select these and delete them.
I am missing functionality, or I am not seeing it. How does one mimick the search utility that is included in Windows, where one can manipulate files returned as search results from within the search results? Beagle is apparently not capable of doing this (it lists, but you can't select or manipulate files), and Konqueror won't even search at all unless it is on "http://www.ask.co.uk", and you can bet your limo that Jeeves can't look in my home folder from where he is located.
I've got 'Find file..' in the 'Tools' menu at the top. Shortcut is Ctrl-F. It brings up a Search dialog to input search terms and choose path. I can right-click on a result and get a context menu that has 'Delete'.
Beagle is not required for this and I have some misgivings about having beagle installed as it has a record of tying up the cpu from time to time, when it indexes, I believe.
I've got 'Find file..' in the 'Tools' menu at the top. Shortcut is Ctrl-F. It brings up a Search dialog to input search terms and choose path. I can right-click on a result and get a context menu that has 'Delete'.
Beagle is not required for this and I have some misgivings about having beagle installed as it has a record of tying up the cpu from time to time, when it indexes, I believe.
I totally missed that when I went through the menus Thanks for reminding me, the offending files have been found and deleted.
I have read about the Beagle gripes, and while I can't say I notice it being present at all.. it's usefulness seems to be (too?) limited for me, and I may just consider removing it completely if it does not ruin the search bar I have in the KDE Menu right now. I doubt it will, so off it goes.
This would find all files named Thumbs.db (case sensitive), print the path relative to [dir_name] and ask you if you want to delete them.
Yes, there is, or are, actually.
On one hand, I would have never came up with that kind of string of commands myself without grabbing some example off these forums and trying it out to see what happens. Now, of course when something goes wrong here I can blame myself.
And on the other hand..
While what you suggest is useful, it is also far too cryptic (and potentially dangerous) to pass on to others.
That is mostly because 99.99% of the people I have around me are Windows users, of which only 1 is a Mac user at home, and I am 1 of 2 Linux users (And he is more savvy than I am, I admit). Myself and the 1 other Linux user aside, none of them ever have touched a CLI or even heard of it. Sad perhaps, but that's reality.
So.. when I do not understand something I have to follow the KISS rule, so I may pass on what I learn during idle conversation over a cup of coffee.
And find /home/user/junk -name "Thumbs.db" -print -exec rm -iv {} \; makes people spray their coffee at me
Not everyone knows how to use CLI or even cares to learn it. Desktops are GUI people need to accept that and stop spouting CLI commands at others when they ask how to do something with a GUI.
Hell I have ran Debian Sid since 2004 and I haven't a clue how to use find, sed or any of those other esoteric commands. While CLI is faster and more powerful if you know how to use it, GUI apps are just as effective these days.
Like OP stated CLI wouldnt have been helpful, plus it isn't really a great idea to use commands unless you know what the heck they are going to do. This is the 21st century desktops are bright and full of eye candy, and filled with loads of GUI apps.
While what you suggest is useful, it is also far too cryptic (and potentially dangerous) to pass on to others.
That is mostly because 99.99% of the people I have around me are Windows users,
Hush. I didn't know this was for general distribution to the user community... they would probably quote it in red ink on your performance review
Not everyone knows how to use CLI or even cares to learn it. Desktops are GUI people need to accept that and stop spouting CLI commands at others when they ask how to do something with a GUI.
Hell I have ran Debian Sid since 2004 and I haven't a clue how to use find, sed or any of those other esoteric commands. While CLI is faster and more powerful if you know how to use it, GUI apps are just as effective these days.
Like OP stated CLI wouldnt have been helpful, plus it isn't really a great idea to use commands unless you know what the heck they are going to do. This is the 21st century desktops are bright and full of eye candy, and filled with loads of GUI apps.
As nice as the GUI apps are, I still find some things work better in CLI. Not all GUI apps use the full potential of a program as their CLI counterpart.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.