Thread: How do you manage files?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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
    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
    Location
    Inside my computer
    Posts
    24,654
    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
    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!!

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    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.

  6. #6
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    587
    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

  7. #7
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    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.

  8. #8
    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.

  9. #9
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    937
    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

  10. #10
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    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.

  11. #11
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by Bubba View Post
    The registry is also probably quite messy but every registry cleaner I've used has been 'too good' and ends up hosing it somehow.
    Yeah thats been the problem since day 1. Every application thinks its settings are so globally important as to warrant placing them in the registry rather than a local settings file. Very few things are of such importance. Font settings, primary language, physical location fo the users MyDocuments folder, but certainly not all teh crap that most applications put in there, and magically dont remove when they uninstall.

    I spent an hour and a half helping a friend manually clean his registry over a VNC connection last night, you woudln''t believe some fo the crap these applications put in there, and leave behind. ........ like the companies web address...

    My personal viewpoint is that unless its something that some other piece of software THAT ISN"T MADE BY YOUR COMPANY will need to know, it doesn't belong in the registry.
    Last edited by abachler; 01-09-2009 at 06:04 AM.

  12. #12
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Quote Originally Posted by abachler View Post
    Yeah thats been the problem since day 1. Every application thinks its settings are so globally important as to warrant placing them in the registry rather than a local settings file. Very few things are of such importance. Font settings, primary language, physical location fo the users MyDocuments folder, but certainly not all teh crap that most applications put in there, and magically dont remove when they uninstall.

    I spent an hour and a half helping a friend manually clean his registry over a VNC connection last night, you woudln''t believe some fo the crap these applications put in there, and leave behind. ........ like the companies web address...

    My personal viewpoint is that unless its something that some other piece of software THAT ISN"T MADE BY YOUR COMPANY will need to know, it doesn't belong in the registry.
    I think you'll need to use Altiris Virtualization Solution to keep your registry clean. You'll install and run 3rd parties applications inside AVS and then changes into registry and files will be forwarded into virtual system.
    Just GET it OFF out my mind!!

  13. #13
    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!!

  14. #14
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    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.

  15. #15
    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!!

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, 07:53 AM
  2. add source files to embedded VC 4.0
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 03:28 AM
  3. *.cpp and *.h files understanding
    By ElastoManiac in forum C++ Programming
    Replies: 4
    Last Post: 06-11-2006, 04: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