Tools FileBrowser/en

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen

The File Browser provides common functions useful to search, manipulate and edit files. In expecco, its main use is to provide a simple but powerful editor to look at traces, test data attachments or to edit configuration files. The editor supports unicode and various common encodings.

The tool's documentation is part of the official Smalltalk/X Online Documentation.

This is an expert tool, which should be used with care.

Advanced File Operations[Bearbeiten]

The File Browser offers a number of special file operations which may be seldom needed, but not less so useful to have at your command, when needed.

File Splitting and Joining[Bearbeiten]

File splitting (into a number of smaller files) may be useful when you have huge files (typically traces, dumps or debug output) which are too large to be edited in one piece, too large to be stored on a particular storage device (think of the 4Gb size limit of Windows file systems or USB sticks), or which are too large to be send via mail or other communation channels (think of mail-attachment size limits). There are two split functions, to split a large file into pieces by size (eg. pieces of 1Gb) or to split into pieces by line-number count (eg. pieces with 100k lines each). The functions are found on the file browser's popup menu (select one or multipe files first) under "Tools" - "File Operations" - "Split". There are actually two such menu items, "Split by Size" and "Split by #Lines". It will split a file named "x" into parts "x.1", "x.2", etc.

The opposite operation is "Join", which is found under the same submenu. This takes a number of pieces and rejoinds them into one big file.

Copying Corrupted Files[Bearbeiten]

This operation my be helpful to extract as much as possible data from partially broken files. I.e. to copy files form a disks or tapes with errors. It will try to copy the file blockwise and retry to read blocks when read errors are encountered (instead of the regular copy operation, which stops when a read error happens). Instead of stopping, it will retry to copy the bad data block a few times, and then write a block of zeros to the output and continue to copy (or try to copy) the next block.


Truncate File[Bearbeiten]

This truncates a file to a given size, effectively cuttin off the tail of a file.

File Differences[Bearbeiten]

Generates and displays the differences between two files.

Directory Differences[Bearbeiten]

Recursively visits two folders and display information about files missing in either directory or different.

Find Files with Same Contents[Bearbeiten]

Quickly searches a recursive folder hierarchy for files containing the same contents.


Back to Online Documentation.



Copyright © 2014-2024 eXept Software AG