FileSort 1.1.1

FileSortDo you have a folder on your computer with thousands and thousands of random files in it?

I do.

I have a folder called “Inbox” on my computer, where I put all the files I download from the Internet and all the files I get from LAN Parties. Pictures, MP3s, Movies and that sort of thing.

It’s a big job sorting that folder.

To make the job easier, I have created FileSort.
FileSort is a FREE program helps you organise a messy folder.

Example Usage

Once you tell FileSort what folder you want to organise, you simply create a series of sorting rules kinda like these:

Move *.jpg to C:\Pictures
Move *holiday* to C:\Holiday
Move *.mp3 to C:\MP3
Move  files that are 30 or more days old to C:\30DaysOld
Move  files that are 7 or more days old to C:\1WeekOld
Move  files that are more than 100Mb in size to C:\Over100Mb

Each rule is executed in order, and in no time, your folder is tidy.
You can even set FileSort to run every so often, so your folder is always tidy.

Screenshot

FileSort version 1.1

Download FileSort

CLICK HERE TO DOWNLOAD FILESORT


Before you can run FileSort, you’ll need the .NET Framework Version 2.0 installed. Once you have that you can download FileSort here. There are still a few bugs, so, if you find one, let me know. Oh, if you were wondering, FileSort saves it’s settings here: C:\Documents and Settings\username\Application Data\Marcus Wynwood\FileSort

If you like it, buy me a beerVB

I’d like to donate $

so you can buy yourself a cold one

Your comments:

Awards and Reviews

Download FileSort 1

Freeware Genius

Reviewed by PC World

FileSort on FreshMeat

64 Responses to “FileSort 1.1.1”

  1. Shagga Says:

    Have you though about combining dupliFinder & FileSort?
    What an excellent program that would be!
    You could make it move the duplicate files to a different folder or something.

  2. Robert Says:

    hi,
    there is a problem with your link settings.xml

  3. Mugga Says:

    If you’re having trouble, try right clicking on the link and go “Save As…” It should work find then :-)

  4. Cleora Guile Says:

    I need to sort my Document files so I came on line to find a program that would help. I downloaded both yours and the required framwork 2. I put in new rules using words from titles of Documents. The documents now have a KEY icon representing Access I think, on their thumbnail view, but the docs aren’t moved into the file folders I designated on the directory in the rule for each. What happened and how can I make it work? I am writing a book and have so many topic research data in MS WORD. I need this to work!!!!
    Thanks for at least having a program that ‘does’ exactly what I needed!!
    Cleora Guile

  5. SY Says:

    Is there a way to add multiple file types

    I have tried all the simple one (spaces, commas, colons, semi-colon).

    Could we also have sort by date? (created date) If possible?

    Cheers for a simple program that sorts out files.

  6. TUIguy Says:

    @echo off
    echo off

    rem Congratulations, you’ve just written a not-too-complex batch file.
    rem Mine took all of 5 minutes? And these comments took longer than the code.
    rem s’ok, you’ve got a _much_ prettier front-end than I do.
    rem And after all, today it’s all form over function.

    rem cmb 20051118 v0.0 initial write

    if “%1″ == “/?” goto usage
    if “%1″ == “-?” goto usage

    rem we must have a source directory — fake it if not.
    if “%1″ == “” %0 \tmp

    rem %1 is source directory
    rem %2 could be target direcory \ - watch for recursion problems with target
    rem %3 could be filespec (*.mp3) - detect and abort if *.*

    c:
    mkdir \pics \holiday \mp3
    cd %1

    for /r %%a in (*.jpg) do move “%%a” \pics
    for /r %%a in (*holiday*) do move “%%a” \holiday
    for /r %%a in (*.mp3) do move “%%a” \mp3
    goto exit

    :usage
    echo Usage: %0 [{dir}]
    echo.
    echo {dir} is optional top of subtree
    echo.
    echo This command moves all JPGs to \jpg, *holiday* to \holiday, MP3s to \mp3
    echo Edit to suit.
    goto exit

    :exit

  7. Marcus Wynwood Says:

    umm thanks…FileSort actually started life is a basic batch file like that. It was a little nicer than that code, but you’ve got the idea. Well done. If you’re interested, you can check out the script that dupliFinder was based on here: dupliFinder Script.
    Keep it up.

  8. Marcus Wynwood Says:

    Thanks for your useful comment SY! The only way to add multiple file types at the moment is to create a rule for each one. Here is an example:

    Move *.jpg to C:\Pictures
    Move *.bmp to C:\Pictures
    Move *.png to C:\Pictures
    etc…

    This will move all pictures to C:\Pictures
    There is an example of this in the sample file: Settings.xml

    As for “Sort By Date” - I was actually planning that for the next version :-)

    Thanks for your support, and I’m glad you liked FileSort!

  9. Brian Snipes' personal blog Says:

    Placing files where they should go

    I just came across this awesome program called FileSort. You setup rules telling it what to do with files that are named a certain way. So you can have all of your ‘*.jpg’ files go to your ‘My Documents/Images’ folder and your ‘*.pdf’ files go…

  10. Marcus Wynwood Says:

    I got my FileSort Mug in the mail today :-) The coffee tastes so much better. Oh, and I’m half way through adding sort-by-date functions…

  11. Marcus Wynwood Says:

    Version 1.1 is out!
    Be careful of what rules you use - the order is very important!
    Bug: Re-ordering the columns doen’t change the order of execution.
    Let me know how you go…

  12. SY Says:

    WOW! Implemented in 9 days!!!

    You deserve some beers!

  13. Marcus Wynwood Says:

    FileSort has been downloaded 2193 times since it came out in October 2005!
    That works out to be about 34 times a day!
    Thanks everyone :-D

  14. ronald Says:

    Hi,

    i tried your program to flatten a directory structure and put all files from a number of sub-folders back on a higher level. but your program doesn’t pick up all recursive folders when doing a sort, in my case only the first and last of 27 sub-folders, so all in all, it’s useless for my purpose.

    thanks, ronald

  15. Marcus Wynwood Says:

    That’s strange. You’d better submit a bug report with Microsoft, because FileSort simply uses Directory.GetFiles(path) and Directory.GetDirectories(path) to create a listing of each and every file in every subdir in a given path. I’ve tested it (I’m sure MS have too) and I’ve had no worries. Let me know how you go, and thanks for the info :-)

  16. Chris Says:

    How can you get filesort to not show view log after each time it automatically sorts. They pile up after a while.

    Thanks.

    cdm9110@msn.com

  17. Marcus Wynwood Says:

    G’day Chris - good idea - I’ll fix it for the next version :-)

  18. SY Says:

    Hi Marcus,

    I have tried the recursive and for me it dont work either! :(( I am sure this worked in a previous version of filesort?

    Please please please try and fix it.! Cheers

  19. Marcus Says:

    I have just uploaded FileSort Version 1.1.1!
    Along with a couple of other really tiny changes, I have made it so that it no longer asks if you want to see the log file every time you sort! I can’t re-create the ‘recursive error’ some people are having, so I haven’t fixed that (yet). I’ll try and get that fixed for Version 1.2
    Thanks for using FileSort everyone! :-)

  20. Mike Raymond Says:

    Marcus,

    Could you add the ability to move files that are LESS than xx MB?
    Also, the ability to specify KB in addition to MB.

    A good utility as is, destined to be great!

  21. Chris McMahon Says:

    Marcus,

    Is there a way that I can use file sort to place the same types of files in a different folder depending on what time of day it is when the sort is run.

    ex.

    If it is 12 am I want to:
    Move *.jpg to c:\12am
    However the next time I run it I want it to move the same type of file to a different location:
    Move *.jpg to c:\1am

    This would allow for easily searching through a directory structure based on time and date.

    Thanks

  22. Brad Says:

    Hi,

    Seems to work except the Recursive button doesn’t have any effect i.e. none of the rules are being applied to subdirectories.

  23. Marcus Says:

    Sorry about that - I’ll fix it when I get some spare time :-)

  24. Ellia Says:

    the executable does not run and gives an error.
    it seems to have a bug somewhere.

  25. Marcus Says:

    Before you can run FileSort, you’ll need the .NET Framework Version 2.0 installed.

  26. A. Degre Says:

    Marcus, upon ticking the checkbox for the recursive setting, a popup is displayed saying that a recursive sort is dangerous. Is there any reason why you’ve said this? Aside from taking a bit more CPU power (and possibly a crash on much older systems) nothing should be worried about, I’m guessing. If there’s something I’m overlooking that you can fill me in on that’d be nice. :) Thanks for the wonderful application~

  27. Marcus Says:

    Hi, The reason for the warning is because if a destination folder lives inside your base folder it could go on for ever. Set up some test folders on your computer and have a fiddle to work out how it works - I don’t want people accidentally deleting files! Thanks :-)

  28. misakitchi Says:

    Hi!

    i just find your software today

    i download lots of anime in one or two different directory,

    for example c:\eMule Download and c:\Bitorrent Download

    i want to sort thoses 2 directory….

    and i want to sort with more filters than *.jpg , *.avi , *.mkv…

    for example if i download “[shinshen]blood+ 02.avi” and “blood+ c01.zip”

    i want to put thoses 2 files in 2 different directory

    so the rules for that is:

    rule1: blood and *.avi -> directory1
    rule2: blood and *.zip -> directory2

    so can u code that in your software please? :)

    THX

  29. A. Degre Says:

    Thanks for the heads up, Marcus. I see what you mean by the loop. :)

  30. misakitchi Says:

    Sorry i just found that we can put more word in name filter like “*shinsen*blood*.avi”
    with that i can put all Blood+ releases of Shinshen in one directory

    but can we sort more than one folder?

    THX!

  31. Icho Tolot Says:

    hi,
    i hope you have an idea to help with my problem.
    short version: 10000 pix in one folder
    i search a possibility to move every file with the same x characters on beginn of filename in the same directory named [x characters] (x a number)
    Example:
    Files:
    pic0001.jpg
    pic0002.jpg
    pic0003.jpg
    pic0004.jpg
    xxx0001.jpg
    xxx0002.jpg
    xxx0003.jpg
    xxx0004.jpg

    If I say 3 chars it should create 2 folders (pic and ***) and move pic*.* to pic and ****.* to ***

    I hope you could help me.

  32. David Says:

    Recurse does not work for me either. Very sad after having to load all that Net garbage.
    The only way you will get a beer from me is if you call in next time down south and fix it. (It will probably be Cascade.)

  33. Marcus Says:

    Yeah, I know there is bugs :-( I’ll get around to fixing them when I get the time. Thanks everyone for using it though :-)

  34. Bob Says:

    Thanks for the program. Will check it out.

  35. R rustum Says:

    Would you please send me a good link to download filesort1 as the link on this page( http://mwynwood.com/blog/?p=231) asks for password !!!
    Regards
    R.Rustum

  36. Marcus Says:

    Just go here: http://mwynwood.com/FileSort
    And click on Download FileSort
    There have never been passwords or anything - it is free!

    Here is the actual file: http://mwynwood.com/FileSort/FileSort.zip

  37. Brian Says:

    Just downloaded Filesort (a PC MAG recommendation) but when try to run it says it needs a version of .net framework ???
    I’m using XP Home Edition with SP2. The message also says that whatever is needed should be thru the application publisher!

  38. Marcus Says:

    Hi Mike. You just need to got your hands on the .NET Framework Version 2.0 Redistributable Package. You can get it from here http://microsoft.com/netframework I’m surprised you don’t already have it.

  39. Edward Dekkers Says:

    Hey there.

    I wrote something like filesort in Java less then a year ago, because nothing was around at the time, and I needed something EXACTLY like what filesort does. Up to this day, it still misses files and sorts weird extensions. I’m not much of a programmer, and could never be bothered sorting it out.

    Now I don’t have to. Great effort Marcus. You’re a legend.

    Ed.

  40. Em Says:

    He IS a legend. And he plays music like a god. He’s my hero. :D

  41. Walter Vandenhoute Says:

    Hi all
    I’m always happy when someone makes useful (small) software utilities for free that can help your Windows life look much better! (I’m a Mac fan, sorry for that, living in a Windows world at work etc.). FileSort makes Windows more user friendly!
    Nice job!
    W.

  42. rod rustum Says:

    Dear Marcus
    I have no idea why still asking for password to download Filesort
    I even sent you an email on the address mwynwood@gmail.com
    with attachemnt to show you the message I got. Anyhow is it possbile for you to email me the file as FILESORT.ZIP to my email

  43. dadarch Says:

    Marcus,

    Just what I needed. I download TIVO programs routinely, but the TIVO application won’t save files to my network drives. Fileort is just what I needed.

    Ideas for future releases. Allow for longer wait times (i.e. 24 hours between sorts), and I’d like to set up multiple source files with automatice sorting to different destinations (i.e. different rules).

    Awesome Tool!

  44. giantkin Says:

    Nice little prog! any way to add Command line options? maybe for use with the windows schedule. Starts Filesort, does its job, exit filesort?

    (programs running when they dont need to be is one of my pet peeves ;) )

    thanks for writing this!!

    gk

  45. Stephen Says:

    Great app :o)

    Can u add a rule to FileSort for the number of enties per sub directory.
    I do a lot of dl from news groups 20k to 30k files. I am using Windows 2k. Windows does not handle directories with over 1,000 files per directory.

    i.e. c:\temp -> c:\temp-1k; c:\temp\1k-2k … c:\temp\nk-n+1k
    In other words: Take 1 directory of 30,000 files and make 30 directories with 1,000 files each.

    Stephen

  46. dilu Says:

    Good job…
    thanX

  47. Frank Says:

    Hi Marcus

    Is there a way to send the same file to multiple directories?
    I like to keep multiple back up copies of important files on physically separate locations on my LAN.

    It is very generous of you to make your progy avail to all…when I find a job, I’ll send you a few rounds.

    Thanks, Frank

  48. Martin Says:

    Hi,

    this is a really nice freeware. One thing that I think is missing is to combine rules - say, if I wanted to move all *.mp3 files that are older than 10 days.

  49. Filesort « freewaregenius.com Says:

    […] Go to the program page for the latest version. […]

  50. ice673 Says:

    Nice program does a great job. wonder what save settings is good for if you can’t load them later to do same sort later. I think the app is very usefull and not bloatware as many apps have gotten trying to do everything.

  51. Marcus Says:

    Review on Ghacks.net: http://www.ghacks.net/2006/11/13/automatically-sort-files-with-filesort/

  52. Woodgnome Says:

    Hi - great program - any possiblity of adding an ignore option as part of the rule - to enable filtering out, if the wildcard * is used on a file type. ?

  53. Guy Says:

    Maybe I am missing it, can we nsort more than one directory? or do we have to have all clients download into an all downloads directory and just sort 1, if so, I would like to see it sort more than 1 directory?? othjer than that its a great time savor!! oh ya , a bug , if you click on the browase button on the top bar, you get an error of course you would, because there is no field for directory input, but thought you ought to know..

    Guy

  54. Abi Says:

    Awesome, man

  55. Patrick Says:

    Is there any way to run this program automatically using windows scheduler?
    Thank you.

  56. Automatically sort files with Filesort - Ken’sTechnology Blog Says:

    […] Filesort is the freeware that I was looking for. Once downloaded and installed (it is only 100k) you simply pick a folder which files you want to sort and define some sorting rules. Filesort offers three different types of rules: File Name Rules, File Age Rules and File Size Rules. Click on new rule to add a new rule in one of the categories. If you wanted to move all mp3 movies you would add *.mp3 in the second tab of the new rule and enter a directory where those files should be placed instead. […]

  57. John Says:

    Is there a way to have it rename a file if same name already exists.

  58. werutzb Says:

    Hi!

    I would like extend my SQL capabilities.
    I red so many SQL books and want to
    read more about SQL for my work as oracle database manager.

    What would you recommend?

    Thanks,
    Werutz

  59. Nuaclecem Says:

    There was this guy see.
    He wasn’t very bright and he reached his adult life without ever having learned “the facts”.
    Somehow, it gets to be his wedding day.
    While he is walking down the isle, his father tugs his sleeve and says,

    “Son, when you get to the hotel room…Call me”

    Hours later he gets to the hotel room with his beautiful blushing bride and he calls his father,

    “Dad, we are the hotel, what do I do?”

    “O.K. Son, listen up, take off your clothes and get in the bed, then she should take off her clothes and get in the bed, if not help her. Then either way, ah, call me”

    A few moments later…

    “Dad we took off our clothes and we are in the bed, what do I do?”

    O.K. Son, listen up. Move real close to her and she should move real close to you, and then… Ah, call me.”

    A few moments later…

    “DAD! WE TOOK OFF OUR CLOTHES, GOT IN THE BED AND MOVED REAL CLOSE, WHAT DO I DO???”

    “O.K. Son, Listen up, this is the most important part. Stick the long part of your body into the place where she goes to the bathroom.”

    A few moments later…

    “Dad, I’ve got my foot in the toilet, what do I do?”

  60. Slyke Says:

    I got a few ideas that you may wish to implement into this little program =).

    1. Multiple Sorting Rules:
    This would allow for files >100KBs with *.jpg extensions only, for example (Of course many more options then just this)

    2. Batch Execution:
    FileSort.exe /SettingsFile.xml /OtherOptions

    3. Run through multiple folders instead of just having one main sorting folder.

    4. Keeping an array of “completed” folders:
    This could help prevent the infinite loop occurring when recursive is true, or when doing multiple folders.

    5. Save/Load settings:
    Useful if you want to save settings somewhere.

    6. Place the same file in multiple locations:
    Useful is people like to backup their stuff.

    Other then that though you have a great program here =). Very impressed!

  61. SteetepymN Says:

    Tired of a competitor’s site? Hinder the enemy? Fed pioneers or copywriters?

    Kill their sites! How? We will help you in this!
    Obstructions of any site, portal, shop!

    Different types of attacks: Date-attack, Trash, Attack, Attack, etc. Intellectual
    You can work on schedule, as well as the simultaneous attack of several sites.

    On average the data, ordered the site falls within 5 minutes after the start. As a demonstration of our capabilities, allows screening.

    Our prices

    24 hours of attack - $ 70
    12 hours of the attack - $ 50
    1 hour attack - $ 25

    Contact via ICQ: 588 666 582

  62. Marco Piampiani Says:

    First of all great small proggy. Im using a batch file at the moment, but I started playing with yours as it might prove more flexible.

    Feedback:
    * It puts its “ini” file in “C:\Documents and Settings\Administrator\Application Data\Marcus Wynwood\FileSort\1.1.1.0″ … any chance of where the exe resides instead? Im sort editing it directly :)
    * Wider wildcard usage on one line such as “[A..C]*_Cars.zip” for anything starting with A or B or C. I also in my batch have to state each letter line by line atm hence unflexible (lots of lines), if you were able to add more wildcard options, it would save on rules.

    Again, cool proggy :)

  63. Mårten Says:

    This program would be great… if it worked…
    As many others have already commented on, recursion doesn’t work at all.

    And when I press the Sort button I expect some kind of feedback, eg. “12 files sorted” or something even better as a log.

    Right now it’s trial and error if I get the filters to work.

    It’s just the program I’m looking for… if recursion works…

  64. Marcus Says:

    I’m glad that some prople have enjoyed this program and found it useful.

    FileSort hasn’t been updated since late 2005, and I’m not sure I’ll be developing it any further at this stage.

    Thanks for everyones support :)