Tran: Get Rid of those Old Archives

» 30 November 2010 » In C/C++, Open-Source, Programming, Releases »

If you download stuff from the internet (especially archived files) a lot, then this will help you clean your mess. Most of us (yes including me), caused by too much excitement of the just-finished-download, will ignore archive files after extracting them. Plus, only few people know how to group their downloads by file-type. Tendency is, to mess up the whole download directory. Of course not all archives there are extracted, but checking them manually is too much pain.

So What’s Tran?

Basically, Tran is a small C++ program that removes extracted archives, and get rid of them for good. Meaning, it will automatically check if an archive is already extracted or not on same directory. That reason this came to my mind is, I myself has a messy download directory. I have too many archive files, and they’re not next to each other so I can’t delete them all at once. Then I decided to work on this C++ program that will do the job for me. I can say it’s fully working because I’ve tested it.

Consequences

If you don’t want to clean your directory, or you prefer your archives to stay, you might have a very large diskspace. Actually, from my folder, I freed up 1.4GB or data. Yeah, it’s not that large, but it’s not small either.

Imagine for 5 years you’re downloading data, and you never get to clean your directory. For every archive your extracted, multiply their size by two, plus the extra size from the compression. And what will you get? Useless files eating up your diskpace. Ok, I know I shouldn’t have used the word useless but the fact that you already used the archive only once by extracting, makes it useless.

Source Code

Of course, the source code is freely available on github. It’s under GPL and fork it if you want. I want to implement new features so I hope you can help me with that. Also, leaving a comment or suggestion would be nice.

Tags: , , , , , ,

Trackback URL