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 would like to save/drag my assorted files of all types (.txt, pdf, html,.doc,.sh,.iso, .mpg etc...) into a single folder and then have them be automatically sorted by first content and then extension.
Any thing that could be grep'd or the equivilent like the txt, pdf, html, doc, is sorted against word lists and moved to the most appropriate new folder
like: Computer/Networking, Entertainment, Medical, Gardening, Travel, Antiques etc.. and the remaining just moved to thier respective sub-folders by extension like the iso and scripts what have you.
I'm not the best googler in the world but I have been trying.So far I have came across things that kinda sorta do stuff like this but I dont know if they really would do what I am after, like using a web search engine or the sort utility.
Or is this the type of thing a person has to build themselves from scratch?
If I've understood your requirements, this is actually not too hard to do yourself, up to a point.
If you are happy going down a list, with something like
if the text "wireless" appears in the file, move to ~/networking
then that is not too hard. Trouble is, there will always be some files with "wireless" them that aren't primarily about networking, and you may find the trouble associated with that to be more than it is worth.
And the files that aren't plain text files....Now that's a bit of a problem, too. You could deal withh OpenOffice (and similar) files, but it would be a bit of a pain as you have to unzip them and walk down the directory structure. Not impossible, but maybe more trouble than its worth. And jpegs and mpegs and the like: there isn't much worthwhile (text) content to sort on.
Again, maybe you are happy if this utility sorts 80% of your files and you deal with the remainder manually, I don't know. I suspect it will always consume more time in writing than it ever saves in running but maybe that's not the point.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.