topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday October 14, 2024, 7:18 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DONE: Sort files into folders based on type  (Read 43968 times)

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
DONE: Sort files into folders based on type
« on: April 08, 2009, 08:36 PM »
I did a little bit of searching and surprisingly didn't find anything to do this (except for music-related circumstances), so here goes...

I have a Downloads folder on my home server machine that is past 7GB and climbing (yes, I actually DO clean it out :P). I need a program that I can run that sorts the files into various folders based on their types (or file extensions, it doesn't matter one way or the other to me). It would need to be able to identify and place all of these file types into folders:

  • Folders (thereby making a folder of folders, but if the folder of folders already exists, don't put THAT folder into a new folder... :huh: :P)
  • EXE
  • MP3
  • MP4/FLV
  • ZIP/RAR/7z/JAR
  • ICO
  • PNG/JPG/GIF
  • INI
  • PDF
  • and more, preferably in a (user stupid) editable format

In addition, INI files that have an EXE counterpart with the same name should both be placed in a folder with that name (for coding snacks and whatnot).

Anyone able to take this?
« Last Edit: April 08, 2009, 10:20 PM by wreckedcarzz »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #1 on: April 08, 2009, 09:09 PM »
Skrommel's MoveOut might work for you.

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #2 on: April 08, 2009, 11:11 PM »
Skrommel's MoveOut might work for you.

Not exactly, but pretty darn close. Had forgotten about that little app :-[ Thanks

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #3 on: April 08, 2009, 11:32 PM »
maybe tchikien's Dekstop Teleporter and/or lifehacker's Belvedere may offer some options.

Note: Dekstop Teleporter link is down atm.. :-\


PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #4 on: April 08, 2009, 11:44 PM »
Note: Dekstop Teleporter link is down atm.. :-\

A mirror download link @ http://www.softpedia...Download-100095.html

wr975

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 369
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #5 on: April 09, 2009, 09:24 AM »
Reading your request I thought, I could use this application myself. Being a bit bored at work, I gave it a try.

>un that sorts the files into various folders based on their types
>It would need to be able to identify and place all of these file types into folders:
Done

>Folders (thereby making a folder of folders
Done (but I'm not sure if that's what you want)

>preferably in a (user stupid) editable format
I tried (see the ini file)

>INI files that have an EXE counterpart
Done (good idea, btw)


Please test it with few files until you trust it enough to let it on your 7 GB file archive.


See attachment for compiled Authotkey script + source code.


Edit: Here's a screen video: http://www.screentoa...Sk1IR1pWQlVUX1NbU1dc

Edit: Updated attachment (rev2) (found a tiny bug which didn't affect my work pc, but home pc... strange)

Edit: Updated attachment (rev3). Just noticed it moved existing folders in existing folders...  :-[ blame it on AHK's documentation or me, for not testing it.  :-\

Edit: Updated (rev4). Feature request.
« Last Edit: April 11, 2009, 10:08 AM by wr975 »

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #6 on: April 09, 2009, 07:00 PM »
Awesome! I'm downloading it now and will give it a go over the next couple days as I continue downloading and see how it fairs. :)

wr975

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 369
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #7 on: April 10, 2009, 03:09 AM »
I hope it works for you. ;) Please be sure to use the new version I just uploaded.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,188
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #8 on: April 10, 2009, 09:45 AM »
Robobasket.  I purchased it on BDJ for 9.95.  I haven't really used it yet, but maybe it will help you.  Normal price is 19.95.

http://www.bitsdujou...software/robobasket/

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #9 on: April 10, 2009, 06:38 PM »
I hope it works for you. ;) Please be sure to use the new version I just uploaded.

Ah, I have yet to try it out, but am updating now :)

Robobasket.  I purchased it on BDJ for 9.95.  I haven't really used it yet, but maybe it will help you.  Normal price is 19.95.

http://www.bitsdujou...software/robobasket/

I'll check that out now :Thmbsup:

EDIT: @wr975 Good looking app, testing it now, but why is direct input disabled for the two textboxes to specify the folders? :'( I changed the option myself (glad I know AHK) but it is worth mentioning that Windows takes FOREVER to open the Network computer list, so allowing direct input would be something I would allow by default.

EDIT 2: After some failed testing, I disabled the Folders sub and it works great now (I guess it was trying to move the folders that MoveOut already had for me (exclude list might help?), so 6.5GB or so of processing isn't AHK's forte). One request: when it moves the EXE+other extension files to Apps, can it make a folder inside of
Apps with the same name of the programs so that it doesn't become a mish-mash of Program/INI/Program/INI/Program/ICO... etc?

Example:

Downloads folder before any action:
MySuperProg.exe
MySuperProg.ini
MySuperProg.ico

Current setup:
Apps\MySuperProg.exe
Apps\MySuperProg.ini
Apps\MySuperProg.ico

Theoretic setup:
Apps\MySuperProg\MySuperProg.exe
Apps\MySuperProg\MySuperProg.ini
Apps\MySuperProg\MySuperProg.ico

I would try it myself, but I haven't worked with AHK for anything beyond basic scripts for a couple of years now :-\
« Last Edit: April 10, 2009, 07:06 PM by wreckedcarzz »

wr975

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 369
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #10 on: April 11, 2009, 10:16 AM »
Hi,

the input boxes are disabled, because I'm just lazy. Entering paths by hand would mean, I've to check if it's accessable, writeable, and so on...   ;) But what about this: Now you can drag&drop files or folders on the Inputboxes. Cool?  8)

Shame the folders did not work. I don't know what you mean with MoveOut. Never used this program.

The EXE+other extensions is now doing this (rev4):
If there's only one file (filename.exe) it'll be moved to "Apps"
If there're more files (filename.exe + filename.other_extensions)  they'll be moved to "Apps\filename".

Cheers,





« Last Edit: April 11, 2009, 10:28 AM by wr975 »

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #11 on: April 11, 2009, 06:50 PM »
Drag and drop works - didn't think of that! :)

Basically on the folder thing: no fault of the program. I had made a set of folders to have MoveOut organize them to see how that worked, but then I switched to ILikeToMoveIt and what it was trying to (correctly) do, was move all those folders into the _folders directory.

Downloading now :Thmbsup:

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #12 on: April 12, 2009, 09:48 AM »
ghacks.net wrote about ILikeToMoveIt. Read Sort Files Folders Automatically.

mrmandala

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #13 on: May 25, 2009, 12:13 PM »
Reading your request I thought, I could use this application myself. Being a bit bored at work, I gave it a try.

Nice implementation, thanks.


wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #14 on: May 25, 2009, 02:28 PM »
Glad someone else got some use out of it as well, I thought it would be too specific. wr975 really did a great job with it- I have modified it slightly to run automatically and let Task Manager run it at midnight every day, and it works EXACTLY how I needed :) :Thmbsup:

EDIT: And ILikeToMoveIt is managing 13.6GB of data for me (and counting) - still running blazing fast every time :up:
« Last Edit: May 25, 2009, 02:32 PM by wreckedcarzz »

pyrohacker

  • Member
  • Joined in 2008
  • **
  • Posts: 46
  • Coder, gamer, loving it.
    • View Profile
    • Mindful Code
    • Read more about this member.
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #15 on: January 04, 2010, 08:37 PM »
Huh.  I'm working on a similar app called SubDiv.  I started before I knew about this app, and I wanted to do a folder sorting app my way.   :-[

I hope nobody minds if I incorporate some of these ideas.
Funny that programmers chose the phrase "Hello, World" while most of us are introverts.
« Last Edit: January 04, 2010, 09:21 PM by pyrohacker »

wr975

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 369
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #16 on: January 05, 2010, 02:48 AM »
No problem. It'd be nice to see this (with even more features) in a proper GUI. The AHK source is included.

chashnniel

  • Member
  • Joined in 2018
  • **
  • default avatar
  • Posts: 127
    • View Profile
    • Donate to Member
Re: DONE: Sort files into folders based on type
« Reply #17 on: January 26, 2019, 06:44 AM »
tested on windows 10 1809 and works fine :Thmbsup: