How do you manage files?

This is a discussion on How do you manage files? within the Tech Board forums, part of the Community Boards category; When I wasn't connected to the internet, I only have approx. 42,281 files in 13 GB. But currently I had ...

  1. #1
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489

    Unhappy How do you manage files?

    When I wasn't connected to the internet, I only have approx. 42,281 files in 13 GB.

    But currently I had 327,434 files in 312 GB (too many leeching ) and my disk free space is only about 1 GB

    This problem leads me to using Indexing Service, since I always searching for files/installer just because I always forget the location

    Please give me suggestions of how to manage files. The tools, the way you organize, making directories, etc.

    Thank you.
    Just GET it OFF out my mind!!

  2. #2
    glo
    glo is offline
    Registered User
    Join Date
    May 2006
    Posts
    169
    Strict discipline:
    I never get things I don't need, I never keep things I don't need anymore.
    I never install bloated software, and would rather find smaller alternatives.
    In general, my arsenal is rather minimalistic.

    As for sorting the things I have:
    I arrange things in folders, nice and pretty.
    I will normally install software to my C partition and use my D partition to store data and useful files (including a clean backup image of drive C so when things go nasty I can get a fresh start).

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,918
    Simply organize the directories in categories, and what you need.
    Games, movies (possibly cartoon, anime, real, whatever), software, etc.
    And above all, rename the downloaded files to a better description and you shall have no problems finding them.

    If you must spread data out all over many partitions and such, create a single directory on one drive that contains the "categories" and create soft/hard links to your files from there.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    504
    This problem leads me to using Indexing Service, since I always searching for files/installer just because I always forget the location
    If you are using NTFS, "Everything" might help.
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  5. #5
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    I keep everything I download on an externl drive in a folder called /Downloads/

    Its slow to acces it with so many entries in the directory, but at least I know where everythign is.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  6. #6
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    This problem leads me to using Indexing Service, since I always searching for files/installer just because I always forget the location
    For installers its simple, just delete when done with and re-download them again when necessary. For files you could write a script.

    Today I had to make a script to move 110k+ images from a directory to various other ones. Took me about an hour to knock something up in python. Took about 4 hours for the script to run, but thats a different story. Anyway a simple way to sort them would be by extension type. If you at lest know a base directory to work off you could copy files of a certain type to another directory. If you have made a mega mess though you would probably be best off doing it by hand.
    Last edited by mike_g; 01-08-2009 at 06:58 PM.

  7. #7
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Quote Originally Posted by Elysia View Post
    Simply organize the directories in categories, and what you need.
    Games, movies (possibly cartoon, anime, real, whatever), software, etc.
    And above all, rename the downloaded files to a better description and you shall have no problems finding them.

    If you must spread data out all over many partitions and such, create a single directory on one drive that contains the "categories" and create soft/hard links to your files from there.
    Categories seems ineffective.

    For instance, if we had categories:
    Code:
    Internet
      -- Mail Clients
        -- Clients
        -- Servers
      -- IRC
        -- Clients
        -- Servers
        -- Bots
      -- Browsers
        -- Extensions
    Of course we can put Firefox in Browsers.
    But how about Opera? Since it is a Browser, an IRC Client and a Mail Client.
    Just GET it OFF out my mind!!

  8. #8
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    907
    Yes, but they're all "applications," which is distinct enough from "documents" "pictures" and "videos."
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  9. #9
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    Since internet downloads are usually the source of bloat I place all downloads in a separate folder. Each download also is inside it's own folder in this download folder. For video game and/or driver patches each patch is placed in Downloads/Patches/<name_of_game> or Downloads/Patches/Drivers/<product_or_device>/<driver_revision>.

    All of my code and development is in a folder with each project having its own folder. I also have development asset folders for models, textures, sounds, etc for each game project as well as folders that contain various versions and builds of the graphic engine I'm using. All of this is managed via Subversion and I use WinMerge as my merge tool.

    As long as you separate everything into folders with clear names you should be ok. The common file dialog in Windows supports all the functionality of Explorer. I use this to create folders on the fly from within the common file dialog that pops up asking you where to place your download. This helps me organize before I download the file in question.

    The only areas that are 'messy' are Windows, My Documents, and some other common Windows folders that every application and game wants to put their crap in. The registry is also probably quite messy but every registry cleaner I've used has been 'too good' and ends up hosing it somehow.
    Last edited by VirtualAce; 01-09-2009 at 02:23 AM.

  10. #10
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,918
    Quote Originally Posted by audinue View Post
    Categories seems ineffective.

    For instance, if we had categories:
    Code:
    Internet
      -- Mail Clients
        -- Clients
        -- Servers
      -- IRC
        -- Clients
        -- Servers
        -- Bots
      -- Browsers
        -- Extensions
    Of course we can put Firefox in Browsers.
    But how about Opera? Since it is a Browser, an IRC Client and a Mail Client.
    You are trying to categorize too far. The filenames play a role, as well.
    Break them up in big categories, and give them a proper name. Then you can just search that directory for the proper name.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  11. #11
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Quote Originally Posted by Elysia
    You are trying to categorize too far.
    ... Break them up in big categories ...
    Any example of global categories name?
    Just GET it OFF out my mind!!

  12. #12
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,918
    Applications, movies, games, software
    If you have lots of movies or games or software, you can put another category under it.
    Make up categories in times of need.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  13. #13
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Mmm... how about throwaway codes, peoples libraries, and downloaded examples-codes?
    Do we need to archive them?
    Last edited by audinue; 01-09-2009 at 05:07 AM.
    Just GET it OFF out my mind!!

  14. #14
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,918
    Source Code
    -> Throwaway
    -> Examples
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  15. #15
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    You probably want to aim for "buckets" that hold somewhere between 20 and a few hundred files. If you don't have at least 20 of something, then it goes in the "others" section. This applies at all levels.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Page 1 of 3 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Create Copies of Files
    By Kanshu in forum C++ Programming
    Replies: 13
    Last Post: 05-09-2009, 08:53 AM
  2. add source files to embedded VC 4.0
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 04:28 AM
  3. *.cpp and *.h files understanding
    By ElastoManiac in forum C++ Programming
    Replies: 4
    Last Post: 06-11-2006, 05:45 AM
  4. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  5. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21