Worth Installing

Software that's worth installing on your computer. Reviews, comparisons, tips, updates...

Wednesday, June 28, 2006

TreeSize Free Gets Update

TreeSize Professional and TreeSize Personal are not the only members of the family. They have a little brother - TreeSize Free. Well, TSFree may be "little", but it's actually quite nice if you don't need the fancy graphing facilities in the other two programs.

TreeSize Free will analyze the drive of your choice and create a folder tree, displaying various information such as: size, bytes allocated, percent (out of total size) and wasted space. Switching between these display modes can be done instantly, without triggering a rescan of the drive being analysed.

Information must be sorted in order to be meaningful; TreeSize Free can do alphabetical and "by size" sorting, but it can also spit the results unsorted, as they come from the filesystem.

Free doesn't mean "featureless" in TreeSize: there's a useful setting (filter) which allows you to specify what files should be included in the scan (perfect if you want to check the size of the MP3s scattered everywhere on your hard drive).

The scan results can be printed for later reference (or as "hard" proof if you need to persuade someone to delete a few games to make room for your music).

TreeSize Free 1.78 is basically a bugfix release, improving error handling and solving several GUI issues. See below for more details.


*** WHAT'S NEW IN TREESEIZE FREE 1.78 ***

- Bugfix: Changing the cluster size to a user defined value in the Scan Options didn't update the values of the wasted space.
- In some cases the error handling has been improved and error messages are shown less often.
- The flickering during the scan has been eliminated.
- The French UI was not always shown.


*** RELEVANT LINKS ***

Download TreeSize Free 1.78 (.exe installer, 803KB)
Check out TreeSize Professional and TreeSize Personal

Labels: ,

Tuesday, June 27, 2006

FlashFXP 3.4.0.1145 Released for Public Download

A major update to FlashFXP 3 has been released on the 20th of June. FTP sites everywhere gasp in excitement as they get ready for even faster and more secure downloads. FlashFXP 3.4.0.1154 is loaded with new features, improvements and bug fixes targeting most areas of the application. Here are the highlights:

ADDITIONS
- Global and per-site “bind socket to IP” option,
- Multi-language support,
- Per-site management facility for SSL certificates (including creation of own self-signed certificates),
- Per-Site speed limit settings and global option to disable speed limiting for LAN transfers,
- New command line options for download/upload/FXP.

CHANGES
- Linked with OpenSSL 0.9.8a DLLs,
- Opening the Site Manager while connected now jumps to the currently connected site profile.

FIXES
- Fixed bug with SOCKS5 that resulted in a delayed failure when the connection is rejected by the SOCKS5 proxy,
- Fixed corrupted data in CWD when selecting a path from the dropdown box via the keyboard.

The “bind socket to IP” setting is very useful if you have multiple network adapters - it allows you to tell FlashFXP to do transfers through a certain NIC. You may want to do this if the cards are linked to different Internet Service Providers (ISPs) as you may get better speeds depending on the FTP-site/outgoing ISP combination (or maybe you just want to punish one of the cards for corrupting the very last bytes of that crucial 4.3GB file you needed for last week’s presentation).

Interface-wise, things have not changed; we get the same two-panel GUI, plus the queue and transfer log windows. At least the site manager icons have been replaced.

FlashFXP Statistics Speaking of which, the site manager is the super-secret hideout of an interesting feature cleverly called “Statistics”, which should be advertised a bit more evidently throughout the program (a big red arrow saying “super-secret cool-stuff” would do nicely). These statistics can be accessed via a tab in the site configuration and offer both global (upload, download, FXP, total) and per-site data (create time, last connected, total connections, upload, download, FTP upload/download and total). All these statistics can be reset.

The next stop is something that may not be so new and fresh, but it sure is helpful: the FlashFXP plugin for Internet Explorer. What it basically does is this: every time you click on an FTP address (e.g.: ftp://ftp.site.com/) in Internet Explorer, you’ll be asked if you want to open the FTP server in FlashFXP instead of IE. This is usually a good idea, since IE is on the slow side when it comes to FTP. You may also choose to open FTP sites in FlashFXP by default, by disabling the prompt (check the FlashFXP options dialog).

That’s about it for now, check below for the full list of changes in FlashFXP 3.4.0.1145.


*** RELEVANT LINKS ***

Download FlashFXP 3.4 Build 1145 (.exe installer, 3.88MB)
FlashFXP Homepage
FlashFXP Documentation (Knowledge base, FAQ, etc)
FlashFXP Tutorials


*** WHAT's NEW IN FLASHFXP 3.4 Build 1145 ***

NEW FEATURES (Updates since FlashFXP v3.2.0.1080)

- The graph font can now be changed separately from the application font.
- Global "Bind Socket to IP" setting.
- Per-Site "Bind Socket to IP" setting.
- Multi-language support. See http://www.flashfxp.com/languages for more information.
- Added new status msg "Listening on PORT: X, Waiting for connection." to help troubleshoot PORT mode connections.
- If Passive mode fails two times in a row, FlashFXP will switch to PORT mode or vice versa.
- If the connection is lost to the ftp site you can continue to browse cached folders and queue files. If a task is performed that requires a connection, FlashFXP will reconnect back to the ftp site and then perform that task.
- You can now browse cached folders and queue files while a transfer is in progress.
- Added Replace feature to internal Text Editor.
- Secure certificate details are now stored for later reviewing, they can be viewed via the Site Manager / SSL Tab.
- When the speed limit is activated you will see a status indicator icon in the statusbar next to the transfer filename.
- Added new option in Preferences / Display / Options "Accurate file system shell icons", when unchecked FlashFXP will use the default icon for each file type. Using default icons rather than accurate icons improves performance.
- Per-Site speed limit settings.
- Global option to disable speed limiting for LAN transfers.
- New command line options for download/upload/fxp (see updated help file)
- Added support for Clear Command Channel (CCC)
- Added support for SOCKS4/SOCKS5 BIND method, which means you can use SOCKS4/SOCKS5 with active mode (PORT).
- Added support for SSL Client Certificates.
- New import/export for sites using .ftp (xml based) file format. Easily export and send sites to friends, or script .ftp file generation for easy configuration for clients/friends/webhosts.
- U3 USB drive support. Watch the website for a U3 specific installer.


CHANGES

- Synchronized Browsing. When browsing remotely the local sync now occurs after the change dir, rather than after the list complete.
- Rename will now cancel out if the folder/file name only contains spaces.
- The active selection in the Preferences is now saved and remembered when you re-enter the Preferences dialog.
- OpenSSL DLL's updated to 0.9.8a (Compiled with VS2005 for speed).
- Default application font switched to "Microsoft Sans Serif" since it supports ClearType, unlike "MS Sans Serif" which doesn't.
- Holding the shift key while pressing the refresh button will now refresh from cache, Similar to shift-F5.
- When you rename a file/folder in the file listing the selected file/folder is remembered after the listing is refreshed.
- Opening the Site Manager while connected will now jump to the currently connected site profile.
- Changing focus to the dropdown box using the mouse now selects all of the text within.
- If the connection is lost during a file transfer, auto-reconnect will only trigger if the connection retry count is non-zero or the retry failed transfers value is non-zero. Previously auto-reconnect was triggered in all cases. Sometimes there are sites where the login/password is only valid once, so an auto-reconnect is pointless.
- After editing a remote file the edited file is re-selected after the listing is refreshed.


FIXES

- When selecting files in the local browsing the selection size isn't updated probably due to a syntax error.
- If FlashFXP was locked with a password and on transfer complete triggers it was unable to close properly.
- If the connection is lost during a delete operation and the user clicks yes to the reconnect prompt, after connecting FlashFXP sometimes ended up in the wrong folder.
- Once the connection retry count was reached the 'Go' and 'stop after current transfer' buttons states weren't updated properly.
- If you connect to a site and while that connection is still being attempted click 'go' the connection attempt isn't properly reset prior to connecting to the site in the queue.
- Bookmark selection was disabled when working with the site in offline mode.
- There was a logic bug in the "FTP sort by (default)" option located in the Preference dialog. If you select sort by "file extension" the option saves but when you re-open the Preference dialog the option becomes undefined and errors when you click OK.
- Fixed bug with SOCKS5 that resulted in a delayed failure when the connection is rejected by the SOCKS5 proxy.
- When expanding folders if the user pressed disconnect or the connection was lost at a specific moment, the folder was removed from the queue without being expanded.
- The -go command line param didn't work as was intended.
- Fixed corrupted data in CWD when selecting a path from the dropdown box via the keyboard.
- Fixed a bug that resulted FlashFXP transferring a file followed by trying to transfer it again, this was caused by a loss of connection and followed by reconnect and due to a flag not being properly reset.
- Compare Folders > Exclude File Extension Toggle bug.
- SSL problem when connecting to two SSL sites at the exact same time, one site would lose connection.
- Local file list "type" column was shown even though the right click menu said it was hidden (unchecked). The default value was inconsistent.
- Print is now disabled in the internal text editor if no printers are found. Otherwise trying to print would generate an error.
- Local Browser - Clicking a shortcut link that points to the current working directory would result in an empty file list.
- In some instances the file date/time in the file exist dialog were not updated to reflect the time zone offset
- Other minor fixes.

Labels: , ,

Monday, June 26, 2006

It's time to download and test µTorrent 1.6 Release Candidate 1 (Build 467)

uTorrent 1.6 Screenshot Yesterday brought us a new beta, µTorrent 1.5.1 Build 466. Today has something special in store for us: the first release candidate for µTorrent 1.6 (Build 467).

According to the change log available on the official website, 1.6 RC1 includes some work arounds for rare network related problems and some other minor bugs.

See below for more details.


*** WHAT'S NEW IN µTORRENT 1.6 RC1 ***

Build 467

- Change: 'min interval' was misspelled.
- Change: Fixed problem with piece counts sometimes getting wrong.
- Change: If the file cannot be opened, delay a little while and try again.
- Change: Show a message in the logger if the autoload is set to the same as the storage folder.
- Change: Delay firewall opening a little to help problem where utorrent starts faster than the firewall.
- Feature: Standby when torrents complete
- Fix: Auto shutdown on Win98 wasn't working

*** RELEVANT LINKS ***

Download µTorrent 1.6 RC1 Build 467 (.exe only - 170KB)
Download µTorrent 1.5 Stable (installer - 560KB)
µTorrent Official Site
µTorrent Skins
µTorrent Beta Full Changelog

Labels:

Sunday, June 25, 2006

µTorrent 1.5.1 Beta Build 466 Available

uTorrent 1.5.1 Main Window ScreenshotA new µTorrent beta build was readied today by creator Ludvig Strigeus (ludde). µTorrent 1.5.1 Beta Build 466 has been posted minutes ago on the official website.

The changes are minor and affect µTorrent's language settings as well as some network behaviors. See below for more details.


*** WHAT'S NEW IN µTORRENT 1.5.1 BETA ***

Build 466

- Change: Fixed various language strings to be more consistent
- Change: Resolve IPs is on by default, but only if the Peers tab is active.
- Fix: Superseeding should work better
- Change: Added buttons to select all / deselect in the add dialog

Build 465
- Change: Don't use router.bittorrent.com
- Change: Added option not to connect to port 25 or 110

Build 464
- Change: Redesigned settings dialog (I still need icons for the categories)
- Change: Better uPnP support with certain routers
- Change: Auto Shutdown Windows available from a menu

Build 463
- Change: peer.lazy_bitfield enabled by default.
- Feature: Added option to allow multiple connections from same IP.
- Feature: Added option to bypass the Nanotorrent search redirect.
- Fix: Shift+Click now works properly in scheduler.

Build 462
- Change: More dialogs are non-modal
- Change: Changed connections for the 384k speed
- Change: New UPnP code (works on all OSes)
- Change: Graphic progress bars enabled by default
- Change: Increased length of editbox for new labels
- Feature: Removing torrent will remove partfile
- Feature: Added "Completed On" column
- Fix: Don't allow blank filenames for single-file torrents (uses default name instead)
- Fix: Bug in add dialog diskspace computation when selecting an item from the list
- Fix: Couldn't use Unicode characters with search box


*** RELEVANT LINKS ***

Download µTorrent 1.5.1 Beta Build 466 (.exe only - 172KB)
Download µTorrent 1.5 Stable (installer - 560KB)
µTorrent Official Site
µTorrent Skins
µTorrent Beta Full Changelog

Labels:

Saturday, June 24, 2006

Nero Burning ROM 7.2.3.2b Ready for Download

The leading CD/DVD utility, Nero Burning Rom, has been updated yesterday. Version 7.2.3.2b brings forth a series of fixes for bugs which plagued the previous Nero release.

According to the official product release notes page, Nero 7.2.3.2 addresses a couple of bugs which caused the program to crash in certain situations, solves some Windows 98 compatibility issues and fixes the UNC path support in multisession CDs.

Other bugs, affecting MP3 encoding and CD ripping in Nero Digital Audio format have been resolved. Check below for full coverage of the changes in this version.


*** WHAT'S NEW IN NERO BURNING ROM 7.2.3.2b ***

- Nero Burning ROM and Nero Express crashed after the DEMO version had expired.
- Bad, scratchy sound when encoding files to mp3 using the 'standard' settings
- Multisession was not automatically selected when burning to the image recorder
- UNC support of Nero did not work anymore, so continuing a multi session CD with UNC paths did not work
- Nero Burning ROM did not use the selected partition to create a boot CD
- Nero Express crashed under Windows 98 when adding protected WMA files to a compilation
- Nero Burning ROM had graphical problems under Windows 98 when changing the menu options any kind of animation
- It was possible to select the ISO file system view in the folder panel of the compilation, although a UDF compilation was chosen
- Error message was shown when starting to convert Audio CDs to Nero Digital Audio


*** RELEVANT LINKS ***

Download Nero 7.2.3.2b All languages (No Yahoo Toolbar, .exe installer - 270MB)
Download Nero 7.2.3.2b English (No Yahoo Toolbar, .exe installer - 128MB)
Download Nero 7.2.3.2b German (No Yahoo Toolbar, .exe installer - 132MB)
Download Nero 7.2.3.2b Russian (No Yahoo Toolbar, .exe installer - 132MB)
Other languages and versions (FTP Directory)
Full changelog information
Nero 7 Product Page

Labels: ,

Friday, June 23, 2006

Opera 9 Unleashed and It's Definitely Worth a Download

Opera 9 screenshot Opera 9 Final has been released yesterday with a horde of interesting new features and improvements.

The highlights of this version – tagged build 8501 – are, by far, Bittorent support, the powerful and interactive content blocker and the widget engine, all explained in more detail below.

The installer is quite polished, with an optimistic feeling to it, and, in case you have an older version of Opera installed, offers the option of installing 9.0 as an upgrade or as a separate program, a helpful option if you want to keep both versions available to make the transition somewhat smoother.

A very interesting addition is the tab preview, which basically displays a thumbnail of a tab’s contents along with a couple of other bits of information when the tab is hovered with the mouse.

Opera 9 torrent screenshot The Bittorent support in Opera 9 eliminates the need for a standalone Bittorent client. Bittorent links are picked up on the fly by the browser. However, some users may still prefer to stick to traditional programs such as uTorrent and Azureus for this task. (Traditional AND memory-hungry in Azureus’ case.)


The content blocker is a sneaky and powerful sidekick on your web endeavors. It allows per-URL content blocking and takes care of useless images and annoying Flash animations – for good. Just right click on the page, read the short instructions and click/shift-click the baddies. They’ll never work in your town again.


Opera 9 tetris widget Widgets are more and more becoming a thing users fear is going to be implemented in their favorite application. Why feared? Well, mostly because the ability of having tremendous fun playing Tetris or Snake from within your email reader or web browser is going to bring some overhead into the software as well. Yes, you’re going to have the time of your life feeding that little worm his favorite snack (black square dots), but if the software gains crashing and memory leaking super-powers in the process you might want to reconsider.

Opera is yet another victim of the widget-trend and includes some default little applications such as news readers, clocks and mini-games, nothing out of the ordinary. There is a game though, Circular Tetris, that kept me busy for about 3 minutes, so I guess that’s cool.


Voice support transforms Opera into an obedient servant, but only after you install a fatty 11MB plugin. Once you do so, you get to verbally command your brand new virtual Lurch to reload pages or even read up texts.

There’s a lot more to be said about Opera 9 so, even if I’m going to wrap this up now, you should expect a full-blown, hands-on, widget-thrashing, content-blocking, torrent-downloading crocodile-wrestling review sometime soon.



*** RELEVANT LINKS ***

Download Opera 9 for Windows (.exe installer, 4.6MB)
Download Opera 9 for Linux i386 (various distro packages)
Download Opera 9 for Mac OS (.dmg, 13MB)
Download Opera 9 for other platforms

Labels: ,

Wednesday, June 21, 2006

New µTorrent 1.5.1 Beta Build Released (465)

uTorrent 1.5 Main Window ScreenshotLudvig Strigeus cooked up a new µTorrent beta build for today. µTorrent 1.5.1 Beta Build 465 has been posted minutes ago on the official website.

The changes are minor and mainly involve some restrictions in µTorrent's network connection policies. See below for more details.

*** WHAT'S NEW IN µTORRENT 1.5.1 BETA ***

Build 465
- Change: Don't use router.bittorrent.com
- Change: Added option not to connect to port 25 or 110

Build 464
- Change: Redesigned settings dialog (I still need icons for the categories)
- Change: Better uPnP support with certain routers
- Change: Auto Shutdown Windows available from a menu

Build 463
- Change: peer.lazy_bitfield enabled by default.
- Feature: Added option to allow multiple connections from same IP.
- Feature: Added option to bypass the Nanotorrent search redirect.
- Fix: Shift+Click now works properly in scheduler.

Build 462
- Change: More dialogs are non-modal
- Change: Changed connections for the 384k speed
- Change: New UPnP code (works on all OSes)
- Change: Graphic progress bars enabled by default
- Change: Increased length of editbox for new labels
- Feature: Removing torrent will remove partfile
- Feature: Added "Completed On" column
- Fix: Don't allow blank filenames for single-file torrents (uses default name instead)
- Fix: Bug in add dialog diskspace computation when selecting an item from the list
- Fix: Couldn't use Unicode characters with search box


*** RELEVANT LINKS ***

Download µTorrent 1.5.1 Beta Build 465 (.exe only - 172KB)
Download µTorrent 1.5 Stable (installer - 560KB)
µTorrent Official Site
µTorrent Skins
µTorrent Beta Full Changelog

Labels:

Tuesday, June 20, 2006

Command line compression for Windows

*** CONTENTS ***

Introduction
Unix-style CLI compression
WinRAR goes command-line
The opensource connection: 7-Zip
CLI tools exit codes
Short Dictionary


*** INTRODUCTION ***

Back in the day when archiving meant putting a bunch of files together into a single bigger chunk in order to make the transfer to tape faster, tar was a common tool. It still is, today, in the UNIX world, typically used in conjunction with two standard compression utilities: gzip and bzip2. The resulting compressed file is sometimes called a “tarball”, although there’s no actual “tar” involved, just zeros and ones.

In the Windows world, and this applies to all modern operating systems (Mac OS X, Linux with a desktop environment such as KDE or Gnome), compression tasks are generally accomplished from within a GUI based program. Such software has been covered in previous articles about WinRAR, 7-Zip and WinZip. However, if you feel left out or totally uncool for not being able to use command line tools for archiving your stuff, read on and learn how to use strange sounding programs such as tar, gzip and bzip2, without installing a UNIX derivate (Linux, various BSD flavors and so on). Renowned compression software will not be avoided; WinRAR and 7-Zip both have command line interfaces and you’ll get a crash course on those too.


*** Tarring, gzipping and bzipping stuff like an uber-geek ***

Tar is a kind of a grandfather, he’s been around for ages and it’s seen a lot. It’s a bit tired, but wise and can do the job if you know how to “talk” to it. Even if you can’t teach it new tricks, the ones it already knows, albeit somewhat old, make it very flexible and fit for many situations. When coupled with auxiliary programs, e.g. gzip/bzip2 for compression, it becomes even more powerful.

You’ve probably seen some funny looking files with double extensions, like NAME.tar.gz or NAME.tar.bz2 and thought “what’s up with *that* ?”. Get ready, we’re about to shed some light on the subject (sunglasses optional)…

Two extensions means two programs were involved in the creation of that program. Take .tar.gz for example, the original data was first “tarred” to NAME.tar and then “gzipped” to NAME.tar.gz. Tar’s job is to look at all the files and directories it has to process and concatenate their contents, along with other information such as path, permissions and so on, into a single file with a .tar extension. Then, the .tar file was sent (“piped” in geek language) to gzip for compression, to obtain the .tar.gz thing. The “tar” program is smart though, and enables you to do this in a single step with a command similar to “tar czf *.doc docs.tar.gz” (to compress all .doc files into a single docs.tar.gz archive). Know this though: sometimes the two extensions are condensed into shorter forms such as “.tgz” and “.tbz2”.

Now, let’s see how we can do this on Windows, assuming you are running on Windows 2000 or later (XP, 2003). First of all, we need to access the command prompt (hopefully, you’ve at least *heard* of it before plunging into this article). To do that, go to Start->Run, type “cmd”, press Enter, then stand back and be amazed: the Windows command line (no, not good for h4x0ring). Next, we need the actual programs to work with, but how? Tar, gzip and bzip2 are UNIX programs, right? How could they run on Windows? Well, here’s one of the situations where opensource pays. Having access to the source of a software package makes it possible for that program to be “ported” to other platforms (i.e. modify its source so that it compiles on other operating systems and/or compilers).

All three utilities I’ve been babbling about until now have Windows ports. Gzip for Windows can be obtained from its official homepage and the same applies to bzip2. There are two tar ports actually, one is the traditional (GNU) Tar and the other is for BsdTar. The latter is said to be faster and can compress/decompress files without the use of the external gzip/bzip2 executables (“binaries” in geek-talk).

Once you obtained and installed the programs, as described above, you can start archiving right away.

To make a single .tar file with all the .docs in the current dir, use the command: “tar –cv *.doc –f AllMyDocs.tar”. The two “flags” we used stand for “create archive (c)” and “be verbose (v)” which basically means “don’t be selfish, tell me what you’re adding to the archive”.

To also compress (with gzip) the resulting .tar archive, you would normally add the “z” flag like so: “tar –czv *.doc –f AllMyDocs.tar”. However, this does not work - it fails with the error “tar: Cannot fork: Function not implemented tar: Error is not recoverable: exiting now”. Apparently, the win32 port of GNU Tar is not complete; it cannot “fork” child processes, which in English means that it cannot start a new copy of itself. Fear not, even if there is no fork in GNU Tar/win32’s world, there is a spoon and here’s where BsdTar enters the stage; just use something like “bsdtar –cvzf allmydocs.tar.gz *.doc” and you’re all set.

The above also applies to bzip2 compression, the flag to be used is “j” and the command becomes “bsdtar –cvjf allmydocs.tar.bz2 *.doc”.

If you’re a real geekboy, you can still use GNU Tar to gzip/bzip2, just “pipe” to these programs the data stream tar yielded by “tar” instead of writing it to a file, for example: “tar –cv *.doc gzip > allmydocs.tar.gz”.

Take a peek into the tarballs

Due to the “fork” issue, listing the contents of the archives we previously obtained is easier with “bsdtar”, but can be obtained with “tar” as well, by using some “pipe magic”.

To list the docs in your allmydocs.tar.gz archive using bsdtar, type: “bsdtar –tf allmydocs.tar.gz”. The same command works with bzipped files too: “bsdtar –tf allmydocs.tar.bz2”.

Using tar is a bit more complicated, but it can’t be too hard for such a good student such as yourself (you must be one, if you’re still with me): “gzip –dc allmydocs.tar.gz tar –t” or “bzip2 –dc allmydocs.tar.bz2 tar –t”. If you’re bothered by the warnings gzip/bzip2 display when decompressing data to standard output, just add another flag (-q suppress noncritical error messages) and you’ll be fine: “gzip –dcq allmydocs.tar.gz tar –t” or “bzip2 –dcq allmydocs.tar.bz2 tar –t”.

Finding the handy “-q” flag was accomplished by invoking the gzip/bzip2 help with “gzip –h” and “bzip2 –h”. Try it and notice the various options these programs provide to the user.

I want my files back! How do I get them out?

The “tar” flag for extraction is “-x” (big surprise, I know). So, a command for extracting all your aforementioned docs would be “bsdtar –xzvf allmydocs.tar.gz”. Since “bsdtar” is such a smart-ass, you can omit the flag which tells it what compression program was used to make the file (“-z” or “-j”), that’s why the command “bsdtar –xvf allmydocs.tar.gz” works just as well.

Again, using GNU Tar is a bit trickier – it involves “piping”: “gzip –dc allmydocs.tar.gz tar –xv” or “bzip2 –dc allmydocs.tar.bz2 tar –xv”.

Both commands will extract the contents of the archive, including paths information (directories).

RAR command line command parameters options switchesOk, that’s just peachy, but what about more advanced stuff?

It’s time for RAR and 7-Zip to show us what they’ve “got”. Beside basic archive operations (create, extract, list contents), these two are capable of lots of advanced stuff, for example (some features may not be available in both programs): add recovery record, repair archive, convert archive to SFX, encrypt files, freshen archive (update modified files), send compressed file to email, set dictionary size for compression, set the number of execution threads (useful for multiprocessor, dual core or HyperThreading machines), set password and so on.


*** RAR. Win RAR ***

WinRAR’s superspy CLI (Command Line Interface) version is named, simply, rar (actually rar.exe, but we’re going to call it just “rar” from now on). Best way to use it easily is to add “C:\Program Files\WinRAR” to your PATH environment variable, like you learned when we talked about “tar” and its friends. Once you’ve done that, type the command “rar” and press Enter in order to see a rather lengthy list of options and switches (flags) - we’ll be reviewing here the most important ones.

Unlike tar & co., rar’s main commands (create archive, extract and so on) are not treated like switches (flags) but are used “as-is” – a single letter immediately after the command invocation (e.g. “rar a ..” to create a new archive).


Basic commands in RAR

a – Add files to archive
Used to create a new archive or add files to an existing one
Example: “rar a allmydocs.rar *.doc” creates a RAR archive that contains all the doc files in the current directory.


c – Add archive comment
Used to add a text comment to an existing archive
Example: “rar c allmydocs.rar” allows you to interactively enter some text, which will be added to the archive as a comment.
An interesting variant of this option is cw, which dumps the comment to a file of your choice. “rar cw allmydocs.rar doc-comments.txt” would read the comment inside your archive and write it to the txt file.


e – Extract files to current directory
Used to quickly extract files from within an existing archive. Optionally, it can get only certain files (specified on the command line)
Extract all files example: “rar e allmydocs.rar” would uncompress all the arhive contents in the current directory
Extract certain file example: “rar e allmydocs.rar must-read.doc” would get only the must-read.doc out of the archive and put it in the working directory.

f – Freshen files in archive
Update archive by refreshing files that were modified since they were added to the archive or last “freshened”.
Example: “rar f allmydocs.doc” would check all corresponding files against their copy inside the archive, and update the archive where differences are found.

l – List archive
Used to display a list of files and other details contained by the archive. There are 3 modes for this command, each with its distinct set of info columns.

Default mode (l)
Shows file name, real size (in bytes), packed size, compression ratio, date and time, attributes, the CRC (Cyclic Redundancy Check) hash, the compression method and version.
Example: “rar l allmydocs.rar”

Technical mode (lt)
Additionally displays the Host OS (operating system used to create the archive, whether or not the archive is solid, and if the format is “old” or not.
Example: “rar lt allmydocs.rar”

Bare mode (lb)
Displays only the file names
Example: “rar lb allmydocs.rar”


Slightly more advanced stuff

d – Delete files or folders from archive
Used to delete one or more files inside an existing archive
Example: “rar d allmydocs.rar mustdelete.doc” would delete a single doc file from the archive
Another example: “rar d allmydocs.rar old_docs” would delete the entire “old_docs” folder (that is, including the contents)

t – Test archive files
Used to test that an archive is not damaged. Works by performing a fake extraction of the archive contents (extracted data is not actually written to disk).
Example: “rar t allmydocs.rar”

x – Extract files with full path
Used to obtain some files out of an archive, or to uncompress an entire archive. The files are extracted with “full paths”, which means the directory structure is recreated to match the one at the time of compression.

Simple mode:
Extracts all files in a RAR arhive
Example: “rar x allmydocs.rar”

Advanced mode:
Lets you skip extraction of files you don’t need, either by typing their names on the command line or by providing a exclusion list file.
Example (1): “rar x –xuseless.doc allmydocs.rar” (skips useless.doc while uncompressing the archive)
Example (2): “rar x –x@ allmydocs.rar” (then type filenames you want to skip)
Example (3): “rar mailto:x%20-x@skip.txt allmydocs.rar” (all files specified in skip.txt will be skipped)


Even more advanced stuff (good to impress on the first date)

s – Convert to SFX / remove SFX module
The default form of this command adds a SFX module to the archive of your choice, transforming it into a self-extracting ”.exe” archive, perfect if you want to distribute the archive but suspect that some of the recipients do not have a compression program capable of handling RAR files. The default.sfx module is used or, optionally, one specified in the command line immediately after the s command.
Example: “rar s allmydocs.rar”.


The “evil twin” of this command is s-, which removes SFX modules.
It will not overwrite the self-extracting (.exe) archive, but will create a new one with the usual “.rar” extension.
Example: “rar s- allmydocs.exe” creates a new archive named “allmydocs.rar”


r – Repair archive
Attempts to repair a damaged archive using any available recovery records. If recovery records are not available, rar will only reconstruct the archive (i.e. the file list), in order to be able to recover undamaged files. If recovery records are in fact available, rar can be much more efficient and rebuild the entire archive.
The repaired archive is saved to rebuilt.original_name.rar (no recovery record) or fixed.original_name.rar (recovery record(s) found).
Example: “rar r allmydocs.rar”


The rc variant of this command is designed to work with multi-volume archives and can reconstruct missing volumes.
The rr variant can be used to add a recovery record to an existing archive; for example “rar rr allmydocs.rar”.
The rv variant does the same thing, but for multi-volume archives; the recovery records are external files with the “.rev” extension.

u – Update files in archive
Adds files that are not in the archive (using the initial file spec used when creating the archive) and freshens the ones that already are included (see the f command). If you created an archive with a command such as “rar a allmydocs.rar *.doc”, updating it will look for new .doc files and add them to allmydocs.rar, plus it will check what files inside the archive have been modified in the “real world” – the filesystem.
Example: “rar u allmydocs.rar”


7-Zip command line parameters options switches
*** Bored of RARing things up? Then try some zipping. 7-zipping, to be more precise ***

7-Zip’s CLI interface is called 7z.exe, but after you get to know each other (i.e. after you add 7-Zip’s directory to your PATH environment variable), you may simply call it “7z”. Try that now, to get the commands and switches list, as in the nearby picture.

Simple operations (prerequisites for achieving coolness state)

a – Add files to archive
Used to create a new archive or add files to an existing one. Can be combined with the “-r” switch which affects directory recursion.
Example (1): “7z a testarc.7z *.*” creates a new archive containing all files in the current directory. Subdirectories are ignored.
Example (2): “7z a –r testarc.7z *.*” creates a new archive containing all files in the current directory, including the subdirectories.
For both examples, if the archive already exists, 7-Zip will check if new files should be added and update it accordingly

e - Extract files from archive (without using directory names)
Used to quickly uncompress an archive’s contents into the current directory or the one specified with “-o”. Caution: it does not use the stored path information (all files will be extracted in the current/output directory). Can also be combined with the “-r” and “-x” switches.

Simple mode:
Extract all files and place them in the current directory
Example: “7z e testarc.7z”

Advanced mode:
Lets you change the destination directory or exclude some files
Example (1): “7z e –ooutput_dir testarc.7z” extracts the archive’s contents in the “output_dir” directory (can be a fully qualified path including a drive letter)
Example (2): “7z e –r –x!*.txt” extracts all files inside the archive, except .txt files

l - Lists contents of archive
Used to list the contents of an archive (filenames, sizes, dates, attributes).
Example: “7z l testarc.7z”


u – Update files in archive
Used to add new files or update files inside an archive to match the changes in the original files. Similar to RAR’s freshen (f) command. Can be combined with the “-r” switch.
Example (1): “7z u testarc.7z *.*” will update all files in the archive with respect with the files in the current directory. New files missing in the archive will be added.
Example (2): “7z u –r testarc.7z *.doc” will work only with .doc files in the current directory and any subdirectories


A bit more advanced stuff

t – Test archive
Used to test the integrity of an archive or check files inside an archive. Can be combined with the “-r” and “-x” switches
Example (1): “7z t testarchive.7z” will test the archive, including all the files inside it
Example (2): “7z t –r testarchive.7z *.txt” will test all .txt files inside the archive

d – Delete files from archive
Used to delete some files from an archive. Can be combined with the “-r” and “-x” switches for more power
Example (1): “7z d testarchive.7z *.doc” – deletes all .doc files from the archive
Example (2): “7z d –r –x!important*.doc” – deletes all .doc files from the archive, except documents which have the word “important” in their filename

x - Extract with full paths
Used to extract files from an archive, using the stored full paths, to the current directory or the directory specified with “-o”. Can also be combined with the “-r” and “-x” switches.

Simple mode:
Extracts all files and places them in the current directory
Example (1): “7z x testarc.7z”

Advanced mode:
Lets you change the output directory or skip some files
Example (1): “7z x –r –ouncompressed testarc.7z” – extracts all files to the “uncompressed” directory
Example (2): “7z x –r –x!*.doc” – extracts all files except .doc files


Create SFX archives with the “–sfx” switch
Example (1): “7z a –sfx testarc.7z *.*” – creates a SFX archive containing all files in the current directory
Example (2): “7z a –sfx7z.sfx testarc.7z” – creates a SFX archive which displays a confirmation/options dialog when executed

Well, that’s about it regarding the usage guides. There are some even more advanced commands, options and switches, but you can find them for yourself in the programs’ documentation, after you get the hang of it by trying the stuff presented in this article.

The remainder of the guide includes a short piece about CLI tools exit codes and a term dictionary. Good luck!



*** EXIT CODES ***

Most CLI utilities are kind enough to report if the operation asked of them was successful or not. They do this after their execution ends, by using the so-called “exit codes” (or “return codes”). These are numbers and have special meanings, sometimes different from program to program. The exit codes are usually invisible to the normal user, but they are important when the CLI utilities are invoked in shell scripts in order to determine whether the script performs normally, or it encountered errors.

Below is the list of return codes for WinRAR and 7-Zip, a useful resource for programmers and advanced users.


WinRAR (RAR)

0 - Successful operation.
1 - Warning. Non fatal error(s) occurred.
2 - A fatal error occurred.
3 - CRC error occurred when unpacking.
4 - Attempt to modify a locked archive.
5 - Write error.
6 - File open error.
7 - Wrong command line option.
8 - Not enough memory.
9 - File create error.
255 - User break.

7-Zip

0 - No error
1 - Warning (Non fatal error(s)). For example, some files were locked by other application during compressing. So they were not compressed.
2 - Fatal error
7 - Command line error
8 - Not enough memory for operation
255 - User stopped the process


*** DICTIONARY ***

* Tar - traditional file archiver, originally used with tape devices. Does not compress, it only concatenates files in to a single “blob”
* Gzip – open source compression program (GNU)
* Bzip2 – another open source compression program, provides better compression rates at the expense of longer compression times
* Tarball – a package obtained by archiving a group of files with ‘tar” and then passing the result to “gzip” or “bzip2”
* Pipe – the “” character, used to combine several programs in a single command line call
* Switch – a way of modifying a program’s/command’s default functionality, usually specified on the command line using one or two dash characters (e.g.: -h or –help)

Labels: , ,

Saturday, June 17, 2006

WinRAR 3.60 Beta 5 Available. Compress Away!

WinRAR 3.60 Beta 5 ScreenshotWinRAR 3.60 Beta 5 has been posted just minutes ago on the Rarlab download site. Beside the Windows GUI version, the command line DOS, Linux, Mac OS and FreeBSD have been updated.

The release brings forth a few bug fixes, generally related to command line switches (options).

See below for the full changelog information.


*** WHAT'S NEW IN WINRAR 3.60 BETA 5 ***

- GUI winrar.exe ignored -mt switch and always used "Multithreading" option from "Settings" dialog. Fixed now.
- Correction in -ilog switch. In some situation the current date was not written to rar.log file.

*** RELEVANT LINKS ***

WinRAR Review
Download WinRAR 3.60 Beta 5 for Windows (.exe - 1MB)
Download RAR 3.60 Beta 5 for Mac OS X (.tar.gz - 357KB)
Download RAR 3.60 Beta 5 for Linux (.exe - 735KB)
Download RAR 3.60 Beta 5 for FreeBSD (.exe - 701KB)
Browse FTP Directory (other languages, themes, older releases)

Labels: , ,

Tuesday, June 13, 2006

TreeSize Updated to 4.0.1

TreeSize Screenshot The powerful hard drive space manager and reporter TreeSize received today a minor update. Both Professional and Personal versions have been upgraded, fixing a few bugs related to the drives list, sorting and the XML reports.

TreeSize is an excellent tool when it comes to managing your hard disks. It thoroughly calculates the disk space occupied by each file and folder, allowing for efficient usage of free storage space on each partition. Several display units can be chosen along with different sorting modes.

You can choose to exclude some files or folders from being analyzed by TreeSize, a helpful option for advanced users. The program also installs a handy Windows Explorer extension, which enables the display of a "real folder size" column in Explorer's details view mode.

TreeSize creates multiple types of reports, including customizable 2D/3D pie or bar charts, grouping items by size, by extension or by user (owner). TreeSize also provides a Top 100 Files list and a details view, with extensive information about the files/folders being analyzed.

The reports can be exported as text or XML or even printed from within the program.

*** WHAT'S NEW IN TREESIZE 4.0.1 ***

• Bugfix: Adding an UNC Path to the list of drives in the TreeSize File Search failed with an error messages.
• Bugfix: Toggling the sort order for the first column in the extensions and users list didn't work.
• Bugfix: Opening certain XML reports failed with an error due to an internal overflow.
• Some minor bugfixes and improvements have been incorporated.


*** RELEVANT LINKS ***

TreeSize Homepage
Download TreeSize Professional 4.0.1 (.exe - 3.2MB)
Download TreeSize Personal 4.0.1 (.exe - 3.2MB)
TreeSize FAQ & Online Help

Labels: ,

Thursday, June 08, 2006

foobar2000 0.9.2 Final Released for Download

foobar2000 is a simple but powerful audio player featuring support for many popular and rare formats, either out of the box or by using additional components.

Developers can create foobar2000 components easily, by using the software development kit (SDK) available for download on the foobar2000 homepage.

Formats supported out of the box:
- MP1, MP2, MP3, MP4, MPC,
- AAC,
- Ogg Vorbis, FLAC / Ogg FLAC,
- WavPack, WAV,
- AIFF, AU, SND,
- CDDA

Formats supported by using optional downloadable components:
- Monkey’s Audio
- ALAC

foobar2000 0.9 Final has been released, bringing forth various improvements for:
- User interface (GUI) – usability, responsiveness
- Format support, file handling and association
- New and rewritten components
- Security enhancements
- Better network code

For detailed information, see below for the full changelog info.

Unfortunately for Windows 95/98/ME/NT4 users, these operating systems are not supported anymore; foobar2000 requires at least Windows 2000 to run.

The version being currently worked on is foobar2000 0.9.2. The fourth beta has been recently released, fixing some bugs and adding native support for the Nero Digital AAC encoder.


*** WHAT'S NEW IN FOOBAR2000 0.9.2 FINAL ***

- Native support for new free Nero Digital AAC encoder
- New “Advanced Preferences” page
- More compatible MP4 tagging scheme
- New CD ripping UI
- Added “directory context menus” feature to file type associations
- Support for realtime DSP preset editing through DSP Manager page
- Fixed various networking issues
- APL support (no longer maintained) moved to a separately downloadable component (Monkey’s Audio support)
- Various cosmetic changes
- Various other bug fixes


*** RELEVANT LINKS ***

Download foobar2000 0.9.2 Final (.exe - 1.44MB)
foobar2000 Homepage
foobar2000 Forums
Download foobar2000 optional components
foobar2000 Wiki

Labels: , ,

Friday, June 02, 2006

New CCleaner version: 1.30.310 available for download

CCleaner Screenshot The excellent freeware PC cleaning utility, CCleaner (Crap Cleaner), has been updated today to version 1.30.310.

The new version brings detection and cleaning features for Opera 9 and Windows Defender, improves support for Nero Burning ROM and speeds up the program's startup times.

CCleaner 1.30.310 also fixes some bugs in the secure delete routines and ActiveX/COM handling.

See below for the full changelog information.

*** WHAT's NEW IN CCLEANER (CRAP CLEANER) 1.30.310 ***

- Added Opera 9 detection and cleaning.
- Fixed bug in Uninstaller tool.
- Fixed overflow error when Secure Deleting large files.
- Fixed bug in ActiveX/COM Issue cleaning.
- Updated Desktop shortcut cleaning to include Quick Launch.
- Added Windows Defender cleaning.
- Updated Nero Burning ROM cleaning.
- Startup speed increase.
- Minor bug fixes and display tweaks.


*** RELEVANT/RELATED LINKS ***

Download CCleaner 1.30.310
CCleaner Homepage
CCleaner Quick Tour

Labels: , ,