LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-11-2008, 06:27 AM   #1
geeyathink
Member
 
Registered: Apr 2006
Distribution: Mandy 2007, Kubuntu
Posts: 56

Rep: Reputation: 15
Is there an app that would sort all this


Anyone know of an app that does this:

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?

Thanks
 
Old 01-11-2008, 04:34 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
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.
 
Old 01-12-2008, 06:15 AM   #3
geeyathink
Member
 
Registered: Apr 2006
Distribution: Mandy 2007, Kubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks for the reply salasi

It just seemed like something neat to have, if I could find it already available. I dont have the skill to do it myself yet. Maybe some day.

Later
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if an app is running and if it's not launch this app Coume Linux - General 3 07-28-2008 02:34 AM
In search of a cost-control app for 3g/GPRS - bandwidth control and limiting per app motin Linux - Software 0 09-07-2006 06:50 AM
Is there a line limit with the sort utility? Trying to sort 130 million lines of text gruffy Linux - General 4 08-10-2006 08:40 PM
script or app mailcheck app from shell pandersson61 Linux - Software 1 03-24-2006 08:16 PM
New app install, or, I've d/l'd the app, now what? Dani Linux - Newbie 4 01-06-2002 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration